prod setup is now fully ready

This commit is contained in:
Priec
2026-05-20 11:14:42 +02:00
parent 8236fb83bc
commit a385b0540d
7 changed files with 173 additions and 1 deletions

28
docker-compose.prod.yml Normal file
View 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}