about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBaitinq <you@example.com>2022-03-19 11:36:36 +0000
committerBaitinq <you@example.com>2022-03-19 11:36:36 +0000
commita74281ae2a5a3e4371acc95113934566ba36a5e7 (patch)
tree2db109f45dbf6aa6a17e69182485789ddb9b2524
parentAdded AP_INTERFACE environment variable for the AP image (diff)
downloadBluetooth_Dosimeter-a74281ae2a5a3e4371acc95113934566ba36a5e7.tar.gz
Bluetooth_Dosimeter-a74281ae2a5a3e4371acc95113934566ba36a5e7.tar.bz2
Bluetooth_Dosimeter-a74281ae2a5a3e4371acc95113934566ba36a5e7.zip
Pass the env file to all services
-rw-r--r--docker-compose.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 343a6592b..83c738586 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,6 +1,8 @@
 version: '3.3'
 services:
   bluetooth_dosimeter_backend:
+    env_file:
+      - ".env"
     extends:
       file: Bluetooth_Dosimeter_Backend/docker-compose.yml
       service: _bluetooth_dosimeter_backend
@@ -11,6 +13,8 @@ services:
       file: Bluetooth_Dosimeter_AP/docker-compose.yml
       service: _bluetooth_dosimeter_ap
   bluetooth_dosimeter_frontend:
+    env_file:
+      - ".env"
     extends:
       file: Bluetooth_Dosimeter_Frontend/docker-compose.yml
       service: _bluetooth_dosimeter_frontend