services: db: image: postgres:15-alpine restart: unless-stopped env_file: - .env environment: - POSTGRES_USER=${TTRSS_DB_USER} - POSTGRES_PASSWORD=${TTRSS_DB_PASS} - POSTGRES_DB=${TTRSS_DB_NAME} volumes: - db:/var/lib/postgresql/data app: image: cthulhoo/ttrss-fpm-pgsql-static:latest restart: unless-stopped env_file: - .env environment: - VIRTUAL_HOST=rss.${DOMAIN} # - LETSENCRYPT_HOST=rss.${DOMAIN} # - LETSENCRYPT_EMAIL=${EMAIL} # - LETSENCRYPT_TEST=true ports: - 8280:8280 expose: - 8280 volumes: - app:/var/www/html - ./config.d:/opt/tt-rss/config.d:ro depends_on: - db updater: image: cthulhoo/ttrss-fpm-pgsql-static:latest restart: unless-stopped env_file: - .env volumes: - app:/var/www/html - ./config.d:/opt/tt-rss/config.d:ro depends_on: - app command: /opt/tt-rss/updater.sh volumes: db: app: backups: networks: default: name: nginx-proxy external: true