docker
This commit is contained in:
parent
e80424f3be
commit
18d2d15cdb
3
.gitignore
vendored
3
.gitignore
vendored
@ -9,6 +9,9 @@
|
||||
|
||||
config.php
|
||||
./config.php
|
||||
./database
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user