From c883f27e0c7e52cb99013425a8353aad4142f9c5 Mon Sep 17 00:00:00 2001 From: moshferatu Date: Tue, 9 Jan 2024 12:54:33 -0800 Subject: [PATCH] Assign the OHLC data updater its own network and static ip --- update-ohlc-data.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/update-ohlc-data.yaml b/update-ohlc-data.yaml index f81563b..7707490 100644 --- a/update-ohlc-data.yaml +++ b/update-ohlc-data.yaml @@ -3,6 +3,9 @@ services: update_ohlc_data: image: /moshferatu/update-ohlc-data:latest container_name: update-ohlc-data + networks: + update-ohlc-data: + ipv4_address: environment: - DATABASE_HOST= - DATABASE_PORT= @@ -11,4 +14,10 @@ services: - DATABASE_PASSWORD= - IQFEED_HOST= - IQFEED_PORT= - restart: unless-stopped \ No newline at end of file + restart: unless-stopped +networks: + update-ohlc-data: + name: update-ohlc-data + ipam: + config: + - subnet: \ No newline at end of file