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

49 lines
1.3 KiB
YAML
Raw Normal View History

2020-03-15 14:34:28 +00:00
services:
wallabag:
image: wallabag/wallabag:2.6.9
2020-03-15 14:34:28 +00:00
restart: unless-stopped
environment:
- SYMFONY__ENV__SECRET={{ wallabag_secret }}
- SYMFONY__ENV__DOMAIN_NAME=https://wallabag.jakehoward.tech
2023-08-28 19:10:37 +01:00
- SYMFONY__ENV__FOSUSER_REGISTRATION=false
- POSTGRES_PASSWORD=wallabag
- POSTGRES_USER=wallabag
- SYMFONY__ENV__DATABASE_DRIVER=pdo_pgsql
- SYMFONY__ENV__DATABASE_HOST=db
- SYMFONY__ENV__DATABASE_PORT=5432
- SYMFONY__ENV__DATABASE_NAME=wallabag
- SYMFONY__ENV__DATABASE_USER=wallabag
- SYMFONY__ENV__DATABASE_PASSWORD=wallabag
- POPULATE_DATABASE=true
2020-03-15 14:34:28 +00:00
volumes:
2021-07-17 20:32:26 +01:00
- /mnt/tank/app-data/wallabag/data:/var/www/wallabag/data
- /mnt/tank/app-data/wallabag/images:/var/www/wallabag/images
2020-03-15 14:34:28 +00:00
labels:
2020-06-18 20:49:12 +01:00
- traefik.enable=true
- traefik.http.routers.wallabag.rule=Host(`wallabag.jakehoward.tech`)
2020-06-24 18:35:20 +01:00
depends_on:
2023-08-28 19:10:37 +01:00
- db
2020-06-24 18:35:20 +01:00
- redis
networks:
- default
- traefik
2020-03-15 14:34:28 +00:00
redis:
2022-11-21 16:02:19 +00:00
image: redis:7-alpine
2020-03-15 14:34:28 +00:00
restart: unless-stopped
volumes:
2023-06-15 21:18:50 +01:00
- /mnt/speed/dbs/redis/wallabag:/data
2023-08-28 19:10:37 +01:00
db:
2024-09-27 08:01:12 +01:00
image: postgres:17-alpine
2023-08-28 19:10:37 +01:00
restart: unless-stopped
volumes:
- /mnt/speed/dbs/postgres/wallabag/:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=wallabag
- POSTGRES_USER=wallabag
networks:
traefik:
external: true