traefik config

master
Buckaroo Banzai 2021-08-22 21:52:33 +02:00 committed by GitHub
parent 2ddf3326cd
commit e6787e16f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 2 deletions

View File

@ -1,7 +1,5 @@
version: "2"
services:
minetest:
image: buckaroobanzay/minetest:5.4.1-r1
@ -115,6 +113,13 @@ services:
VIRTUAL_HOST: pandorabox.io
LETSENCRYPT_HOST: pandorabox.io
LETSENCRYPT_EMAIL: thomas@rudin.io
labels:
- "traefik.enable=true"
- "traefik.docker.network=terminator"
- "traefik.http.routers.pandorabox.rule=Host(`pandorabox.io`)"
- "traefik.http.services.pandorabox.loadbalancer.server.port=80"
- "traefik.http.routers.pandorabox.entrypoints=websecure"
- "traefik.http.routers.pandorabox.tls.certresolver=default"
volumes:
- "./data/nginx/nginx.conf:/etc/nginx/nginx.conf:ro"
- "./data/nginx/htpasswd:/etc/nginx/htpasswd:ro"