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