29 lines
684 B
YAML
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}
|