Assign the OHLC data updater its own network and static ip

This commit is contained in:
moshferatu 2024-01-09 12:54:33 -08:00
parent cda8d29490
commit c883f27e0c

View File

@ -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>