V 1.0.0: Netzwerk im Docker angepasst

mailto vor die Adresse im footer
This commit is contained in:
2026-02-23 10:47:19 +00:00
parent e28cca1c46
commit fec587a524
8 changed files with 103 additions and 22 deletions

37
docker-compose.prod.yml Normal file
View File

@@ -0,0 +1,37 @@
# Docker Compose für Production Server mit Traefik
services:
werte-app:
image: docker.citysensor.de/werte-next:latest
container_name: werte-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.werte.entrypoints=http
- traefik.http.routers.werte.rule=Host(`werte.fuerst-stuttgart.de`)
- traefik.http.middlewares.werte-https-redirect.redirectscheme.scheme=https
- traefik.http.routers.werte.middlewares=werte-https-redirect
- traefik.http.routers.werte-secure.entrypoints=https
- traefik.http.routers.werte-secure.rule=Host(`werte.fuerst-stuttgart.de`)
- traefik.http.routers.werte-secure.tls=true
- traefik.http.routers.werte-secure.tls.certresolver=letsencrypt
- traefik.http.routers.werte-secure.service=werte
- traefik.http.services.werte.loadbalancer.server.port=3000
networks:
- proxy
- gitea-internal
networks:
proxy:
name: dockge_default
external: true
gitea-internal:
name: gitea_gitea-internal
external: true