about summary refs log tree commit diff
path: root/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml19
1 files changed, 12 insertions, 7 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 83c738586..123813eab 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,22 +1,27 @@
 version: '3.3'
 services:
-  bluetooth_dosimeter_backend:
-    env_file:
-      - ".env"
-    extends:
-      file: Bluetooth_Dosimeter_Backend/docker-compose.yml
-      service: _bluetooth_dosimeter_backend
   bluetooth_dosimeter_ap:
     env_file:
       - ".env"
     extends:
       file: Bluetooth_Dosimeter_AP/docker-compose.yml
       service: _bluetooth_dosimeter_ap
+  bluetooth_dosimeter_backend:
+    env_file:
+      - ".env"
+    networks:
+      - dockernet
+    extends:
+      file: Bluetooth_Dosimeter_Backend/docker-compose.yml
+      service: _bluetooth_dosimeter_backend
   bluetooth_dosimeter_frontend:
     env_file:
       - ".env"
+    networks:
+      - dockernet
     extends:
       file: Bluetooth_Dosimeter_Frontend/docker-compose.yml
       service: _bluetooth_dosimeter_frontend
 
-#add another service for nginx redirects?
+networks:
+    dockernet: