diff options
author | Baitinq <you@example.com> | 2022-02-27 21:22:12 +0000 |
---|---|---|
committer | Baitinq <you@example.com> | 2022-02-27 21:37:51 +0000 |
commit | 0924ced6a169c71cb8a2168671d11c546cec3f3b (patch) | |
tree | 1bb94a2b603b8cf1433ed1e2af6d2897164a7471 | |
parent | Docker: Added frontend env variables (diff) | |
download | Bluetooth_Dosimeter-0924ced6a169c71cb8a2168671d11c546cec3f3b.tar.gz Bluetooth_Dosimeter-0924ced6a169c71cb8a2168671d11c546cec3f3b.tar.bz2 Bluetooth_Dosimeter-0924ced6a169c71cb8a2168671d11c546cec3f3b.zip |
Added AP_INTERFACE environment variable for the AP image
-rw-r--r-- | .env | 1 | ||||
-rw-r--r-- | docker-compose.yml | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/.env b/.env index 407148db3..7ae16c7af 100644 --- a/.env +++ b/.env @@ -2,3 +2,4 @@ BACKEND_HOST="0.0.0.0" BACKEND_PORT=4444 FRONTEND_HOST="0.0.0.0" FRONTEND_PORT=80 +AP_INTERFACE="wlan0" diff --git a/docker-compose.yml b/docker-compose.yml index 8f6bc03c0..343a6592b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,6 +5,8 @@ services: 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 |