From ad5b8f9d29dbaacfcaffc1a634ddf121541e9d63 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Tue, 15 Nov 2022 01:10:52 +0100 Subject: [PATCH] Fixed network setup for docker deploy --- .drone.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index a2e1236..54898be 100644 --- a/.drone.yml +++ b/.drone.yml @@ -38,7 +38,10 @@ steps: - docker rm automation || true - - docker run -e MQTT_HOST=$MQTT_HOST -e MQTT_PORT=$MQTT_PORT -e MQTT_USER=$MQTT_USER -e MQTT_PASS=$MQTT_PASS -e MQTT_CLIENT_ID=$MQTT_CLIENT_ID -e HUE_IP=$HUE_IP -e HUE_BRIDGE=$HUE_BRIDGE -e NTFY_TOPIC=$NTFY_TOPIC -e GOOGLE_CREDENTIALS=$GOOGLE_CREDENTIALS --network mqtt --network web --name automation -d automation + - docker create -e MQTT_HOST=$MQTT_HOST -e MQTT_PORT=$MQTT_PORT -e MQTT_USER=$MQTT_USER -e MQTT_PASS=$MQTT_PASS -e MQTT_CLIENT_ID=$MQTT_CLIENT_ID -e HUE_IP=$HUE_IP -e HUE_BRIDGE=$HUE_BRIDGE -e NTFY_TOPIC=$NTFY_TOPIC -e GOOGLE_CREDENTIALS=$GOOGLE_CREDENTIALS --network mqtt --name automation automation + - docker network connect mqtt automation + - docker network connect web automation + - docker start automation when: branch: