28 lines
835 B
YAML
28 lines
835 B
YAML
version: '3.3'
|
|
|
|
services:
|
|
selfoss:
|
|
image: akito13/selfoss
|
|
volumes:
|
|
- selfoss:/selfoss/data
|
|
networks:
|
|
- proxy
|
|
deploy:
|
|
labels:
|
|
- traefik.enable=true
|
|
- traefik.docker.network=proxy
|
|
- traefik.http.routers.${STACK_NAME}-http.rule=Host(`${DOMAIN?Variable not set}`)
|
|
- traefik.http.routers.${STACK_NAME}-http.entrypoints=web
|
|
- traefik.http.routers.${STACK_NAME}-https.rule=Host(`${DOMAIN?Variable not set}`)
|
|
- traefik.http.routers.${STACK_NAME}-https.entrypoints=web-secure
|
|
- traefik.http.routers.${STACK_NAME}-https.tls=true
|
|
- traefik.http.routers.${STACK_NAME}-https.tls.certresolver=${LETS_ENCRYPT_ENV}
|
|
- traefik.http.services.${STACK_NAME}.loadbalancer.server.port=8888
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|
|
|
|
volumes:
|
|
selfoss:
|