]> git.parisson.com Git - teleforma.git/commitdiff
add bridge for prod feature/docker-bridge
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Fri, 16 Jul 2021 12:40:05 +0000 (14:40 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Fri, 16 Jul 2021 12:40:05 +0000 (14:40 +0200)
.dockerignore
env/prod.yml

index 03df86dac90844265da1b3d907930b467d1754b0..fec198196fcdf8ebde362494f22225008609fae5 100644 (file)
@@ -5,4 +5,5 @@ data/
 env/
 tmp/
 var/
-**/.sass-cache
\ No newline at end of file
+**/.sass-cache
+*.sock
\ No newline at end of file
index e3a967c2a46bff710a22ee21cee9a0df8051fdfa..cbfba682572ecb644bfaf972a9079e883b68f617 100644 (file)
@@ -15,6 +15,8 @@ services:
       - /mnt/crfpa-scripts:/mnt/crfpa-scripts
     ports:
       - "9003:8000"
+    networks:
+      - teleforma-prod
   
   channels:
     build:
@@ -35,14 +37,32 @@ services:
       - redis
     env_file:
       - env/prod.env
+    networks:
+      - teleforma-prod
 
   postgres:
     image: postgres:13
     env_file:
       - env/prod.env
+    networks:
+      - teleforma-prod
+
+  redis:
+    networks:
+      - teleforma-prod
+
+  memcached:
+    networks:
+      - teleforma-prod
+
 
 volumes:
     app:
     channels:
     postgres:
     redis:
+
+
+networks:
+  teleforma-prod:
+    driver: bridge
\ No newline at end of file