# Docker Compose für Production Server mit Traefik services: ausgaben-app: image: docker.citysensor.de/ausgaben-next:latest container_name: ausgaben-next-app restart: unless-stopped expose: - 3000 environment: - NODE_ENV=production - DB_HOST=${DB_HOST} - DB_USER=${DB_USER} - DB_PASS=${DB_PASS} - DB_NAME=${DB_NAME} labels: - traefik.enable=true - traefik.http.routers.ausgaben.entrypoints=http - traefik.http.routers.ausgaben.rule=Host(`ausgaben.fuerst-stuttgart.de`) - traefik.http.middlewares.ausgaben-https-redirect.redirectscheme.scheme=https - traefik.http.routers.ausgaben.middlewares=ausgaben-https-redirect - traefik.http.routers.ausgaben-secure.entrypoints=https - traefik.http.routers.ausgaben-secure.rule=Host(`ausgaben.fuerst-stuttgart.de`) - traefik.http.routers.ausgaben-secure.tls=true - traefik.http.routers.ausgaben-secure.tls.certresolver=letsencrypt - traefik.http.routers.ausgaben-secure.service=ausgaben - traefik.http.services.ausgaben.loadbalancer.server.port=3000 networks: - proxy - gitea-internal networks: proxy: name: dockge_default external: true gitea-internal: name: gitea_gitea-internal external: true