github.com/diadata-org/diadata@v1.4.593/deployments/docker-compose.influxmigration.yml (about)

     1  version: '3.2'
     2  services:
     3  
     4    influxmigration:
     5      build:
     6        context: ../../../..
     7        dockerfile: github.com/diadata-org/diadata/build/Dockerfile-influxMigration
     8      image: ${DOCKER_HUB_LOGIN}/${STACKNAME}_influxmigration:latest
     9      command: /bin/influxMigration
    10      networks:
    11        - influxdb-network
    12        - influxdb2-network
    13        - postgres-network
    14      logging:
    15        options:
    16          max-size: "50m"
    17      secrets:
    18        - postgres_credentials
    19      volumes:
    20        - /home/srv/config:/config
    21      environment:
    22        - EXEC_MODE=production
    23        - INFLUX_READ_URL=http://influxdb:8086
    24        - INFLUX_WRITE_URL=http://influxdb-2:8086
    25        - INFLUX_TABLE_ORIGIN=trades
    26        - INFLUX_TABLE_DESTINATION=tradesTmp
    27        - TIME_FINAL=1636618800
    28        - INFLUX_MIGRATION_TESTMODE=false
    29    
    30  secrets:
    31    postgres_credentials:
    32      file: ../secrets/postgres_credentials.txt
    33  
    34  networks:
    35    postgres-network:
    36      external:
    37          name: postgres_postgres-network
    38    influxdb-network:
    39      external:
    40          name: influxdb_influxdb-network
    41    influxdb2-network:
    42      external:
    43          name: influxdb-2_influxdb2-network