mirror of
https://gitea.zaclys.com/yannic/selfhosting.git
synced 2026-04-25 17:00:40 +02:00
back to traefik
This commit is contained in:
@@ -32,8 +32,6 @@ services:
|
||||
SEAFILE_SERVER_HOSTNAME: ${HOST_SEAFILE}.${DOMAIN}
|
||||
SEAFILE_SERVER_LETSENCRYPT: "false"
|
||||
TIME_ZONE: ${TZ}
|
||||
VIRTUAL_HOST: ${HOST_SEAFILE}.${DOMAIN}
|
||||
LETSENCRYPT_HOST: ${HOST_SEAFILE}.${DOMAIN}
|
||||
image: seafileltd/seafile-mc:latest
|
||||
networks:
|
||||
- srv
|
||||
@@ -50,7 +48,13 @@ services:
|
||||
privileged: true
|
||||
cap_add:
|
||||
- SYS_ADMIN
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.seafile.rule=Host(`${HOST_SEAFILE}.${DOMAIN}`)
|
||||
- traefik.http.routers.seafile.entrypoints=websecure
|
||||
- traefik.http.routers.seafile.tls=true
|
||||
- traefik.http.services.seafile.loadbalancer.server.port=80
|
||||
|
||||
volumes:
|
||||
seafile_db:
|
||||
seafile_data:
|
||||
seafile_data:
|
||||
|
||||
Reference in New Issue
Block a user