mirror of
https://github.com/donpat1to/Schichtenplaner.git
synced 2025-11-30 22:45:46 +01:00
27 lines
686 B
YAML
27 lines
686 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
schichtplaner:
|
|
container_name: schichtplaner
|
|
image: ghcr.io/donpat1to/schichtenplaner:v1.0.0
|
|
environment:
|
|
- NODE_ENV=production
|
|
- JWT_SECRET=${JWT_SECRET}
|
|
- TRUST_PROXY_ENABLED=true
|
|
- TRUSTED_PROXY_IPS=nginx-proxy,172.0.0.0/8,10.0.0.0/8,192.168.0.0/16
|
|
- FORCE_HTTPS=${FORCE_HTTPS:-false}
|
|
networks:
|
|
- app-network
|
|
volumes:
|
|
- app_data:/app/data
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3002/api/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
expose:
|
|
- "3002"
|
|
|
|
volumes:
|
|
app_data: |