prod setup
Some checks failed
CI / Check Style (push) Has been cancelled
CI / Run Clippy (push) Has been cancelled
CI / Run Tests (push) Has been cancelled

This commit is contained in:
2026-05-20 11:01:23 +00:00
parent f92cb1f134
commit 8f89423994
4 changed files with 20 additions and 25 deletions

View File

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