prod setup is now fully ready
This commit is contained in:
28
docker-compose.prod.yml
Normal file
28
docker-compose.prod.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
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}
|
||||
Reference in New Issue
Block a user