docker-compose/update-ohlc-data.yaml

23 lines
523 B
YAML

version: "3"
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=
- DATABASE_NAME=
- DATABASE_USER=
- DATABASE_PASSWORD=
- IQFEED_HOST=
- IQFEED_PORT=
restart: unless-stopped
networks:
update-ohlc-data:
name: update-ohlc-data
ipam:
config:
- subnet: <subnet>