Assign the OHLC data updater its own network and static ip
This commit is contained in:
parent
cda8d29490
commit
c883f27e0c
@ -3,6 +3,9 @@ services:
|
||||
update_ohlc_data:
|
||||
image: <gitea url>/moshferatu/update-ohlc-data:latest
|
||||
container_name: update-ohlc-data
|
||||
networks:
|
||||
update-ohlc-data:
|
||||
ipv4_address: <static ip>
|
||||
environment:
|
||||
- DATABASE_HOST=
|
||||
- DATABASE_PORT=
|
||||
@ -11,4 +14,10 @@ services:
|
||||
- DATABASE_PASSWORD=
|
||||
- IQFEED_HOST=
|
||||
- IQFEED_PORT=
|
||||
restart: unless-stopped
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
update-ohlc-data:
|
||||
name: update-ohlc-data
|
||||
ipam:
|
||||
config:
|
||||
- subnet: <subnet>
|
Loading…
Reference in New Issue
Block a user