From 44c250cc9d7450f1e36eee91c2ad92c34ca73bd5 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Sat, 19 Mar 2022 19:41:36 +0000 Subject: Docker: Added network for services to share --- docker-compose.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'docker-compose.yml') 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: -- cgit 1.4.1