35 lines
714 B
YAML
35 lines
714 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
configucci:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
args:
|
|
GIT_URL: https://git.six83.ru/ssa/configucci.git
|
|
GIT_BRANCH: main
|
|
container_name: configucci-app
|
|
ports:
|
|
- "11088:80"
|
|
restart: unless-stopped
|
|
networks:
|
|
- configucci-network
|
|
volumes:
|
|
# Optional: persist nginx logs
|
|
- nginx-logs:/var/log/nginx
|
|
environment:
|
|
- TZ=Europe/Moscow
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost/"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 10s
|
|
|
|
networks:
|
|
configucci-network:
|
|
driver: bridge
|
|
|
|
volumes:
|
|
nginx-logs:
|