Files
universal_web_loco_rewrite/docker-compose.prod.yml
2026-05-20 11:14:42 +02:00

29 lines
684 B
YAML

services:
universal-web:
container_name: ${CONTAINER_NAME:?set CONTAINER_NAME}
build:
context: .
dockerfile: Dockerfile
env_file:
- .env.production
volumes:
- universal_web_uploads:/usr/app/data/uploads
networks:
- reverse-proxy
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "curl -fsS http://localhost:$${PORT:-5150}/_ping"]
interval: 30s
timeout: 5s
retries: 3
start_period: 20s
networks:
reverse-proxy:
external: true
name: ${REVERSE_PROXY_NETWORK:?set REVERSE_PROXY_NETWORK}
volumes:
universal_web_uploads:
name: ${UPLOADS_VOLUME_NAME:?set UPLOADS_VOLUME_NAME}