This commit is contained in:
Walter Hupfeld 2023-10-07 10:37:24 +02:00
parent e80424f3be
commit 18d2d15cdb
2 changed files with 11 additions and 8 deletions

3
.gitignore vendored
View File

@ -9,6 +9,9 @@
config.php
./config.php
./database

View File

@ -3,18 +3,18 @@ version: '3'
services:
unfallkarte:
image: php81:v1
container_name: next-unfallkarte
container_name: dev-unfallkarte
volumes:
- ./:/var/www/html
labels:
- "traefik.enable=true"
- "traefik.http.routers.unfallkarte.entrypoints=https"
- "traefik.http.routers.unfallkarte.rule=Host(`unfallkarte.hpadm.de`)"
- "traefik.http.routers.unfallkarte.tls=true"
- "traefik.http.routers.unfallkarte.tls.certresolver=http"
- "traefik.http.routers.unfallkarte.middlewares=default@file"
- "traefik.http.routers.unfallkarte.service=unfallkarte"
- "traefik.http.services.unfallkarte.loadbalancer.server.port=80"
- "traefik.http.routers.dev-unfallkarte.entrypoints=https"
- "traefik.http.routers.dev-unfallkarte.rule=Host(`unfallkarte.hpadm.de`)"
- "traefik.http.routers.dev-unfallkarte.tls=true"
- "traefik.http.routers.dev-unfallkarte.tls.certresolver=http"
- "traefik.http.routers.dev-unfallkarte.middlewares=default@file"
- "traefik.http.routers.dev-unfallkarte.service=dev-unfallkarte"
- "traefik.http.services.dev-unfallkarte.loadbalancer.server.port=80"
- "traefik.docker.network=proxy"
networks:
- default