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

25 lines
686 B
YAML
Raw Normal View History

2020-03-15 14:34:28 +00:00
version: "2.3"
services:
wallabag:
image: wallabag/wallabag:2.3.8
container_name: wallabag
restart: unless-stopped
environment:
- SYMFONY__ENV__SECRET={{ wallabag_secret }}
- SYMFONY__ENV__DOMAIN_NAME=https://wallabag.jakehoward.tech
volumes:
- ./data:/var/www/wallabag/data
- ./images:/var/www/wallabag/images
labels:
- "traefik.enable=true"
- "traefik.http.routers.wallabag.rule=Host(`wallabag.jakehoward.tech`)"
- "traefik.http.routers.wallabag.tls=true"
- "traefik.http.routers.wallabag.tls.certresolver=le"
redis:
image: redis:5-alpine
restart: unless-stopped
volumes:
- ./redis:/data