]> git.parisson.com Git - teleforma.git/commitdiff
mv nginx container
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 18 Nov 2019 11:32:58 +0000 (12:32 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 18 Nov 2019 11:33:31 +0000 (12:33 +0100)
docker-compose.yml
env/nginx.yml [new file with mode: 0644]

index b6290e4ded1f92ef109d29eebea0fc667206e82a..c17b4275671dfded09f4ef329e3da62ab467fbc4 100644 (file)
@@ -30,14 +30,4 @@ app:
   links:
     - db
 
-nginx:
-  image: nginx
-  ports:
-    - "80:80"
-  volumes:
-    - ./app/deploy/nginx-app.conf:/etc/nginx/conf.d/default.conf
-    - ./data/var/log/nginx/:/var/log/nginx
-  volumes_from:
-    - data
-  links:
-    - app
+
diff --git a/env/nginx.yml b/env/nginx.yml
new file mode 100644 (file)
index 0000000..2cb2f6c
--- /dev/null
@@ -0,0 +1,11 @@
+nginx:
+  image: nginx
+  ports:
+    - "80:80"
+  volumes:
+    - ./app/deploy/nginx-app.conf:/etc/nginx/conf.d/default.conf
+    - ./data/var/log/nginx/:/var/log/nginx
+  volumes_from:
+    - data
+  links:
+    - app