From 93ab83f635c6b80dc92a0272bf6fb85d6704b069 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 1 Feb 2020 10:58:54 +0300 Subject: [PATCH] add optional configuration for nginx frontend container --- docker-compose.yml | 10 ++++++++++ src/docker-compose.yml | 11 +++++++++++ 2 files changed, 21 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 959340b..fbd0c8a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -73,6 +73,16 @@ services: # depends_on: # - 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: db: app: diff --git a/src/docker-compose.yml b/src/docker-compose.yml index 945e346..f5e52b9 100644 --- a/src/docker-compose.yml +++ b/src/docker-compose.yml @@ -81,6 +81,17 @@ services: depends_on: - 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: db: app: