2022-08-01 21:42:11 +00:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
app:
|
|
|
|
image: cthulhoo/ttrss-fpm-pgsql-static
|
|
|
|
restart: always
|
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
- .secret.env
|
|
|
|
volumes:
|
|
|
|
- app:/var/www/html
|
2022-08-06 00:05:08 +00:00
|
|
|
networks:
|
2022-08-06 23:14:57 +00:00
|
|
|
local-net:
|
2022-08-06 00:05:08 +00:00
|
|
|
aliases:
|
|
|
|
- tt-rss-app
|
2022-08-01 21:42:11 +00:00
|
|
|
|
|
|
|
updater:
|
|
|
|
image: cthulhoo/ttrss-fpm-pgsql-static
|
|
|
|
restart: always
|
|
|
|
env_file:
|
|
|
|
- .env
|
2022-08-02 10:53:40 +00:00
|
|
|
- .secret.env
|
2022-08-01 21:42:11 +00:00
|
|
|
volumes:
|
|
|
|
- app:/var/www/html
|
|
|
|
depends_on:
|
|
|
|
- app
|
|
|
|
command: /opt/tt-rss/updater.sh
|
2022-08-06 00:05:08 +00:00
|
|
|
networks:
|
2022-08-06 23:14:57 +00:00
|
|
|
local-net:
|
2022-08-01 21:42:11 +00:00
|
|
|
|
|
|
|
web-nginx:
|
|
|
|
image: cthulhoo/ttrss-web-nginx
|
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- app:/var/www/html:ro
|
2022-08-06 00:05:08 +00:00
|
|
|
- ./nginx.conf:/etc/nginx/nginx.conf
|
2022-08-01 21:42:11 +00:00
|
|
|
depends_on:
|
|
|
|
- app
|
2022-08-06 00:05:08 +00:00
|
|
|
networks:
|
2022-08-06 23:14:57 +00:00
|
|
|
local-net:
|
2022-08-06 00:05:08 +00:00
|
|
|
services:
|
|
|
|
aliases:
|
|
|
|
- tt-rss
|
2022-08-01 21:42:11 +00:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
app:
|
2022-08-06 00:05:08 +00:00
|
|
|
|
|
|
|
networks:
|
2022-08-06 23:14:57 +00:00
|
|
|
local-net:
|
2022-08-06 00:05:08 +00:00
|
|
|
services:
|
|
|
|
external: true
|