docker-compose.yml hinzugefügt

This commit is contained in:
gitea-enwelo-jba 2026-06-24 13:25:49 +00:00
parent dfcf4fd9bd
commit 9981f6e19f
1 changed files with 25 additions and 0 deletions

25
docker-compose.yml Normal file
View File

@ -0,0 +1,25 @@
services:
standortplaner:
# Baut das Image basierend auf deinem Dockerfile
build: .
container_name: standortplaner
restart: always
# Lädt die Umgebungsvariablen (die durch deine deploy.yaml erstellt werden)
env_file:
- .env
networks:
- proxy
labels:
- "traefik.enable=true"
# URL-Routing
- "traefik.http.routers.standortplaner.rule=Host(`standortplaner.enwelo-serverumgebung.cloud`)"
- "traefik.http.routers.standortplaner.entrypoints=websecure"
- "traefik.http.routers.standortplaner.tls.certresolver=le"
# Authentik-Schutz
- "traefik.http.routers.standortplaner.middlewares=authentik@file"
# Port-Mapping
- "traefik.http.services.standortplaner.loadbalancer.server.port=3000"
networks:
proxy:
external: true