services/tt-rss/docker-compose.yml

52 lines
837 B
YAML

version: '3'
services:
app:
image: cthulhoo/ttrss-fpm-pgsql-static
restart: always
env_file:
- .env
- .secret.env
volumes:
- app:/var/www/html
networks:
local-net:
aliases:
- tt-rss-app
updater:
image: cthulhoo/ttrss-fpm-pgsql-static
restart: always
env_file:
- .env
- .secret.env
volumes:
- app:/var/www/html
depends_on:
- app
command: /opt/tt-rss/updater.sh
networks:
local-net:
web-nginx:
image: cthulhoo/ttrss-web-nginx
restart: always
volumes:
- app:/var/www/html:ro
- ./nginx.conf:/etc/nginx/nginx.conf
depends_on:
- app
networks:
local-net:
apps:
aliases:
- tt-rss
volumes:
app:
networks:
local-net:
apps:
external: true