selfoss recipe

This commit is contained in:
Yax 2020-07-16 19:10:15 +02:00
parent 6a6f15cf2d
commit feeb1a1914
2 changed files with 23 additions and 0 deletions

View file

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

View file

@ -0,0 +1,22 @@
version: '3'
services:
selfoss:
container_name: selfoss
image: hardware/selfoss
volumes:
- selfoss_data:/selfoss/data
networks:
- srv
restart: unless-stopped
expose:
- 80
labels:
- traefik.enable=true
- traefik.http.routers.selfoss.rule=Host(`${HOST_SELFOSS}.${DOMAIN}`)
- traefik.http.routers.selfoss.entrypoints=websecure
- traefik.http.routers.selfoss.tls=true
- traefik.http.services.selfoss.loadbalancer.server.port=80
volumes:
selfoss_data: