Assign SPX quotes downloader its own network and static ip

This commit is contained in:
moshferatu 2024-01-09 12:47:00 -08:00
parent ccc05ee41b
commit cda8d29490

View File

@ -5,6 +5,9 @@ services:
container_name: download-spx-quotes container_name: download-spx-quotes
volumes: volumes:
- <data directory>/SPX Options Quotes:/spx-options-quotes - <data directory>/SPX Options Quotes:/spx-options-quotes
networks:
download-spx-quotes:
ipv4_address: <static ip>
environment: environment:
- USER= - USER=
- PASSWORD= - PASSWORD=
@ -12,3 +15,9 @@ services:
- ITEM= - ITEM=
- DOWNLOAD_DIRECTORY= - DOWNLOAD_DIRECTORY=
restart: unless-stopped restart: unless-stopped
networks:
download-spx-quotes:
name: download-spx-quotes
ipam:
config:
- subnet: <subnet>