Add wallabag

This commit is contained in:
Lorenzo 2022-02-02 21:27:41 +01:00
parent 01b16aaded
commit 1901428228
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,27 @@
iversion: '3'
services:
wallabag:
image: wallabag/wallabag
container_name: wallabag
environment:
- SYMFONY__ENV__DOMAIN_NAME="https://${FQDN}"
- SYMFONY__ENV__SERVER_NAME="${NAME}"
volumes:
- ./images:/var/www/wallabag/web/assets/images
- ./data:/var/www/wallabag/data
networks:
- proxy
labels:
- traefik.enable=true
- traefik.http.routers.wallabag.entrypoints=http
- traefik.http.routers.wallabag.rule=Host(`${FQDN}`)
- traefik.http.middlewares.wallabag-https-redirect.redirectscheme.scheme=https
- traefik.http.routers.wallabag.middlewares=wallabag-https-redirect
- traefik.http.routers.wallabag-secure.entrypoints=https
- traefik.http.routers.wallabag-secure.rule=Host(`${FQDN}`)
- traefik.http.routers.wallabag-secure.tls=true
- traefik.http.routers.wallabag-secure.tls.certresolver=myresolver
networks:
proxy:
external: true

3
wallabag/sample.env Normal file
View File

@ -0,0 +1,3 @@
SYMFONY__ENV__DOMAIN_NAME=https://wallabag.tuservidor.es
SYMFONY__ENV__SERVER_NAME="Tu Servidor Linux"