back to traefik
This commit is contained in:
parent
9bd9f23d9e
commit
4c2bdef32e
16 changed files with 171 additions and 60 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue