2020-03-15 14:34:28 +00:00
|
|
|
version: "2.3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
wallabag:
|
2023-10-02 14:00:31 +01:00
|
|
|
image: wallabag/wallabag:2.6.7
|
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
|
2022-01-15 23:44:06 +00:00
|
|
|
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
|
2022-01-15 23:44:06 +00:00
|
|
|
|
2023-08-28 19:10:37 +01:00
|
|
|
db:
|
|
|
|
image: postgres:14-alpine
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
|
|
- /mnt/speed/dbs/postgres/wallabag/:/var/lib/postgresql/data
|
|
|
|
environment:
|
|
|
|
- POSTGRES_PASSWORD=wallabag
|
|
|
|
- POSTGRES_USER=wallabag
|
|
|
|
|
2022-01-15 23:44:06 +00:00
|
|
|
networks:
|
|
|
|
traefik:
|
|
|
|
external: true
|