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