2020-03-08 18:12:12 +00:00
|
|
|
version: "2.3"
|
2020-02-09 12:43:38 +00:00
|
|
|
|
2023-06-15 14:20:52 +01:00
|
|
|
x-app: &app
|
|
|
|
image: cthulhoo/ttrss-fpm-pgsql-static:latest
|
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
|
|
- TTRSS_DB_USER=tt-rss
|
|
|
|
- TTRSS_DB_NAME=tt-rss
|
|
|
|
- TTRSS_DB_PASS=tt-rss
|
2024-04-15 17:33:36 +01:00
|
|
|
- TTRSS_SELF_URL_PATH=https://tt-rss.jakehoward.tech
|
2023-06-15 14:20:52 +01:00
|
|
|
- TTRSS_ENABLE_REGISTRATION=false
|
|
|
|
- TTRSS_CHECK_FOR_UPDATES=false
|
|
|
|
- TTRSS_ENABLE_GZIP_OUTPUT=true
|
|
|
|
- TTRSS_NO_STARTUP_PLUGIN_UPDATES=true
|
|
|
|
- OWNER_UID={{ docker_user.id }}
|
|
|
|
- OWNER_GID={{ docker_user.id }}
|
|
|
|
- PHP_WORKER_MAX_CHILDREN=50
|
|
|
|
- PHP_WORKER_MEMORY_LIMIT=512M
|
2024-04-15 17:33:36 +01:00
|
|
|
- APP_WEB_ROOT=/var/www/html/tt-rss
|
|
|
|
- APP_BASE=
|
2023-06-15 14:20:52 +01:00
|
|
|
volumes:
|
|
|
|
- ./tt-rss:/var/www/html
|
|
|
|
- "{{ app_data_dir }}/tt-rss/feed-icons:/var/www/html/tt-rss/feed-icons"
|
|
|
|
- ./plugins:/var/www/html/tt-rss/plugins.local
|
|
|
|
|
2020-02-09 12:43:38 +00:00
|
|
|
services:
|
2022-08-24 15:23:21 +01:00
|
|
|
nginx:
|
|
|
|
image: cthulhoo/ttrss-web-nginx:latest
|
|
|
|
restart: unless-stopped
|
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
|
|
|
- traefik.http.routers.tt-rss.rule=Host(`tt-rss.jakehoward.tech`)
|
|
|
|
- traefik.http.middlewares.add-ttrss.addprefix.prefix=/tt-rss
|
|
|
|
- traefik.http.middlewares.remove-ttrss.stripprefix.prefixes=/tt-rss
|
|
|
|
- traefik.http.routers.tt-rss.middlewares=remove-ttrss,add-ttrss
|
|
|
|
volumes:
|
2022-10-17 13:43:15 +01:00
|
|
|
- ./tt-rss:/var/www/html
|
2022-08-24 15:23:21 +01:00
|
|
|
- "{{ app_data_dir }}/tt-rss/feed-icons:/var/www/html/tt-rss/feed-icons:ro"
|
2023-07-21 12:57:01 +01:00
|
|
|
- ./plugins:/var/www/html/tt-rss/plugins.local
|
2022-08-24 15:23:21 +01:00
|
|
|
depends_on:
|
|
|
|
- app
|
|
|
|
networks:
|
|
|
|
- default
|
|
|
|
- traefik
|
2021-03-06 12:10:56 +00:00
|
|
|
|
2023-06-15 14:20:52 +01:00
|
|
|
app:
|
|
|
|
<<: *app
|
2020-06-24 18:35:20 +01:00
|
|
|
depends_on:
|
|
|
|
- db
|
2022-08-24 15:23:21 +01:00
|
|
|
|
|
|
|
updater:
|
|
|
|
<<: *app
|
|
|
|
command: /opt/tt-rss/updater.sh
|
|
|
|
depends_on:
|
|
|
|
- app
|
2020-02-09 12:43:38 +00:00
|
|
|
|
|
|
|
db:
|
2021-12-22 22:39:46 +00:00
|
|
|
image: postgres:14-alpine
|
2020-02-09 12:43:38 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
2023-06-15 13:55:36 +01:00
|
|
|
- /mnt/speed/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
|
2022-01-15 23:44:06 +00:00
|
|
|
|
|
|
|
networks:
|
|
|
|
traefik:
|
|
|
|
external: true
|