compose tweaks

This commit is contained in:
Andrew Dolgov 2023-10-22 09:55:07 +03:00
parent 028afdd7d5
commit cb90393a7e
No known key found for this signature in database
GPG Key ID: 1A56B4FA25D4AF2A
1 changed files with 14 additions and 14 deletions

View File

@ -15,6 +15,8 @@ services:
app:
image: cthulhoo/ttrss-fpm-pgsql-static:latest
environment:
SKIP_RSYNC_ON_STARTUP: true
build:
dockerfile: .docker/app/Dockerfile
context: .
@ -22,20 +24,20 @@ services:
env_file:
- .env
volumes:
- app:/var/www/html
- .:/var/www/html/tt-rss
depends_on:
- db
updater:
image: cthulhoo/ttrss-fpm-pgsql-static:latest
restart: unless-stopped
env_file:
- .env
volumes:
- app:/var/www/html
depends_on:
- app
command: /opt/tt-rss/updater.sh
# updater:
# image: cthulhoo/ttrss-fpm-pgsql-static:latest
# restart: unless-stopped
# env_file:
# - .env
# volumes:
# - .:/var/www/html
# depends_on:
# - app
# command: /opt/tt-rss/updater.sh
web-nginx:
image: cthulhoo/ttrss-web-nginx:latest
@ -48,9 +50,7 @@ services:
ports:
- ${HTTP_PORT}:80
volumes:
- app:/var/www/html:ro
- .:/var/www/html/tt-rss:ro
depends_on:
- app
volumes:
app: