Update covidapp traefik config

This commit is contained in:
olomana 2023-02-12 08:17:31 +00:00
parent 332d6ba062
commit e3742db7ea
2 changed files with 8 additions and 4 deletions

2
covid19/.gitignore vendored
View File

@ -1,2 +1,4 @@
schema/ schema/
covidapp-repo/ covidapp-repo/
covidapp-autoupdater/

View File

@ -20,10 +20,12 @@ services:
ports: ports:
- "1337:1337" - "1337:1337"
labels: labels:
- "traefik.enable=true" - traefik.http.routers.covidapp.rule=Host(`covid.whitney.rip`)
- "traefik.http.routers.covidapp.rule=Host(`covid.whitney.rip`)" - traefik.http.routers.covidapp.tls=true
- "traefik.http.routers.covidapp.entrypoints=web" - traefik.http.routers.covidapp.tls.certresolver=lets-encrypt
- traefik.http.services.covidapp.loadbalancer.server.port=1337
- traefik.port=1337
mysql: mysql:
image: mysql/mysql-server:latest image: mysql/mysql-server:latest
container_name: mysql_covidapp container_name: mysql_covidapp