docker-compose.yml hinzugefügt
This commit is contained in:
parent
dfcf4fd9bd
commit
9981f6e19f
|
|
@ -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
|
||||
Loading…
Reference in New Issue