infrastructure/ansible/roles/pve_docker/files/wallabag/docker-compose.yml
Jake Howard d5c7d94ac8
Run traefik as dockeruser, and without host networking
This required port forwarding, a docker proxy, and a docker network, but the end result should be much more secure!
2022-01-15 23:44:06 +00:00

30 lines
734 B
YAML

version: "2.3"
services:
wallabag:
image: wallabag/wallabag:2.4.2
restart: unless-stopped
environment:
- SYMFONY__ENV__SECRET={{ wallabag_secret }}
- SYMFONY__ENV__DOMAIN_NAME=https://wallabag.jakehoward.tech
volumes:
- /mnt/tank/app-data/wallabag/data:/var/www/wallabag/data
- /mnt/tank/app-data/wallabag/images:/var/www/wallabag/images
labels:
- traefik.enable=true
- traefik.http.routers.wallabag.rule=Host(`wallabag.jakehoward.tech`)
depends_on:
- redis
networks:
- default
- traefik
redis:
image: redis:6-alpine
restart: unless-stopped
volumes:
- /mnt/tank/dbs/redis/wallabag:/data
networks:
traefik:
external: true