infrastructure/ansible/roles/pve_docker/files/tt-rss/docker-compose.yml

40 lines
1.1 KiB
YAML
Raw Normal View History

2020-03-08 18:12:12 +00:00
version: "2.3"
2020-02-09 12:43:38 +00:00
services:
tt-rss:
image: lunik1/tt-rss:latest
environment:
- PUID={{ docker_user.id }}
- PGID={{ docker_user.id }}
2021-02-10 09:12:42 +00:00
- TZ={{ TZ }}
- TTRSS_DB_USER=tt-rss
- TTRSS_DB_NAME=tt-rss
- TTRSS_DB_PASS=tt-rss
- TTRSS_SELF_URL_PATH=https://tt-rss.jakehoward.tech/
- TTRSS_ENABLE_REGISTRATION=false
- TTRSS_CHECK_FOR_UPDATES=false
- TTRSS_ENABLE_GZIP_OUTPUT=true
2020-02-09 12:43:38 +00:00
volumes:
2021-02-27 22:08:01 +00:00
- "{{ app_data_dir }}/tt-rss/feed-icons:/config/feed-icons"
- ./plugins:/config/plugins.local
2020-02-09 12:43:38 +00:00
restart: unless-stopped
labels:
2020-06-18 20:49:12 +01:00
- traefik.enable=true
- traefik.http.routers.tt-rss.rule=Host(`tt-rss.jakehoward.tech`)
- traefik.http.routers.tt-rss.tls.certresolver=le
- traefik.http.routers.tt-rss.middlewares=compress@file
2020-06-24 18:35:20 +01:00
depends_on:
- db
tmpfs:
- /config/log
2020-02-09 12:43:38 +00:00
db:
image: postgres:12-alpine
restart: unless-stopped
volumes:
2021-02-27 22:08:01 +00:00
- /mnt/tank/dbs/postgres/tt-rss/:/var/lib/postgresql/data
2020-02-09 12:43:38 +00:00
environment:
- POSTGRES_PASSWORD=tt-rss
- POSTGRES_USER=tt-rss