This commit is contained in:
Yax 2020-07-14 18:12:05 +02:00
parent b27fc29197
commit fe69b06a4d
2 changed files with 21 additions and 0 deletions

View file

@ -13,6 +13,7 @@ HOST_MAIL=mail
HOST_SEAFILE=seafile
HOST_BLOG=blog
HOST_WALLABAG=wallabag
HOST_SHAARLI=shaarli
# other
TZ=Europe/Paris
BASIC_AUTH=test:$$apr1$$H6uskkkW$$IgXLP6ewTrSuBkTrqE8wj/

View file

@ -0,0 +1,20 @@
version: '3'
services:
shaarli:
container_name: shaarli
image: shaarli/shaarli
volumes:
- shaarli-cache:/var/www/shaarli/cache
- ${ROOT_INSTALL}/data/shaarli:/var/www/shaarli/data
networks:
- srv
restart: unless-stopped
expose:
- 80
labels:
- traefik.enable=true
- traefik.http.routers.shaarli.rule=Host(`${HOST_SHAARLI}.${DOMAIN}`)
- traefik.http.routers.shaarli.entrypoints=websecure
- traefik.http.routers.shaarli.tls=true
- traefik.http.services.shaarli.loadbalancer.server.port=80