Browse Source

add optional configuration for nginx frontend container

Andrew Dolgov 6 months ago
parent
commit
93ab83f635
2 changed files with 21 additions and 0 deletions
  1. 10 0
      docker-compose.yml
  2. 11 0
      src/docker-compose.yml

+ 10 - 0
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:  

+ 11 - 0
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: