From 17edc4586636d7e15001b8972ab873258b8ab09c Mon Sep 17 00:00:00 2001
From: Eliot Berriot <contact@eliotberriot.com>
Date: Thu, 5 Apr 2018 16:31:13 +0000
Subject: [PATCH] Added basic (commented) nginx proxy in deploy docker-compose

---
 deploy/docker-compose.yml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/deploy/docker-compose.yml b/deploy/docker-compose.yml
index 69d5e17214..cc4f357cad 100644
--- a/deploy/docker-compose.yml
+++ b/deploy/docker-compose.yml
@@ -53,3 +53,19 @@ services:
     links:
       - postgres
       - redis
+
+  # If you want to have the nginx proxy managed by docker for some reason
+  # (i.e. if you use apache as a proxy on your host),
+  # you can uncomment the following lines.
+  # nginx:
+  #   image: nginx
+  #   links:
+  #     - api
+  #   volumes:
+  #     - ./nginx.conf:/etc/nginx/conf.d/funkwhale.conf:ro
+  #     - ./funkwhale_proxy.conf:/etc/nginx/funkwhale_proxy.conf:ro
+  #     - ./data/media:/srv/funkwhale/data/media:ro
+  #     - ./front/dist:/srv/funkwhale/front/dist:ro
+  #     - ./data/static:/srv/funkwhale/data/static/:ro
+  #   ports:
+  #     - "127.0.0.1:5001:80"
-- 
GitLab