infrastructure/ansible/roles/pve_docker/files/wallabag/docker-compose.yml

30 lines
734 B
YAML

version: "2.3"
services:
wallabag:
image: wallabag/wallabag:2.5.4
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:7-alpine
restart: unless-stopped
volumes:
- /mnt/tank/dbs/redis/wallabag:/data
networks:
traefik:
external: true