add traefik labels for files.geokunis2.nl

This commit is contained in:
pizzaniels 2023-01-13 19:26:57 +01:00
parent d61fc21f32
commit 955080f54d
2 changed files with 15 additions and 1 deletions

View file

@ -14,6 +14,7 @@ geokunis2.nl. IN SOA ns.geokunis2.nl. niels.kunis.nl. 2023010900 1800 3600 12096
jenl IN A 217.123.41.225
wg IN A 84.245.14.149
kms IN A 84.245.14.149
files IN A 84.245.14.149
_dmarc IN TXT "v=DMARC1; p=reject; fo=0; adkim=s; aspf=s; pct=100; rf=afrf; sp=reject"
ns A 84.245.14.149
AAAA 2a02:58:19a:f730:b62e:99ff:fe77:1bda

View file

@ -37,8 +37,21 @@ services:
- SEAFILE_ADMIN_PASSWORD={{ seafile_admin_password }} # Specifies Seafile admin password.
- SEAFILE_SERVER_LETSENCRYPT=false # Whether to use https or not.
- SEAFILE_SERVER_HOSTNAME={{ seafile_domain }} # Specifies your host name if https is enabled.
labels:
- traefik.http.routers.seafile.entrypoints=websecure
- traefik.http.routers.seafile.rule=Host(`files.geokunis2.nl`)
- traefik.http.routers.seafile.tls=true
- traefik.http.routers.seafile.tls.certresolver=geokunis
- traefik.http.services.seafile.loadbalancer.server.port=80
- traefik.http.routers.seafile.service=seafile
- traefik.docker.network=traefik
depends_on:
- db
- memcached
networks:
- default
- traefik
networks:
traefik:
external: true