add optional configuration for nginx frontend container

remotes/origin/pgsql-count-bits-12
Andrew Dolgov 5 years ago
parent 4e5e529eb6
commit 93ab83f635

@ -73,6 +73,16 @@ services:
# depends_on: # depends_on:
# - app # - app
# web-nginx:
# image: cthulhoo/ttrss-web-nginx
# restart: unless-stopped
# ports:
# - ${HTTP_PORT}:80
# volumes:
# - app:/var/www/html:ro
# depends_on:
# - app
volumes: volumes:
db: db:
app: app:

@ -81,6 +81,17 @@ services:
depends_on: depends_on:
- app - app
web-nginx:
image: cthulhoo/ttrss-web-nginx:latest
build: ./web-nginx
restart: unless-stopped
ports:
- ${HTTP_PORT}:80
volumes:
- app:/var/www/html:ro
depends_on:
- app
volumes: volumes:
db: db:
app: app:

Loading…
Cancel
Save