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

     1  version: "3.3"
     2  services:
     3  #  redis:
     4  #    image: redis:latest
     5  #    ports:
     6  #    - "6379:6379"
     7  #  influxdb:
     8  #    image: influxdb
     9  #    ports:
    10  #      - "8086:8086"
    11  #  zookeeper:
    12  #    image: "confluentinc/cp-zookeeper"
    13  #    ports:
    14  #    - "2181:2181"
    15  #    environment:
    16  #    - ZOOKEEPER_CLIENT_PORT=2181
    17  #    - ZOOKEEPER_TICK_TIME=2000
    18  #  kafka:
    19  #    image: "confluentinc/cp-kafka"
    20  #    ports:
    21  #    - "9094:9094"
    22  #    environment:
    23  #      HOSTNAME_COMMAND "docker info | grep ^Name: | cut -d' ' -f 2"
    24  #    - KAFKA_BROKER_ID=1
    25  #    - KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181
    26  #    - KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://127.0.0.1:9094
    27  #    - KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR=1
    28  #    - KAFKA_GROUP_INITIAL_REBALANCE_DELAY_MS=0
    29  #    - KAFKA_MESSAGE_MAX_BYTES=10000000
    30  #    - KAFKA_DELETE_TOPIC_ENABLE=true
    31  #    - ALLOW_PLAINTEXT_LISTENER=yes
    32  
    33    postgres:
    34      image: postgres
    35      restart: always
    36      ports:
    37        - "27017:27017"
    38        - "5432:5432"
    39      environment:
    40        MONGO_INITDB_ROOT_USERNAME: root
    41        POSTGRES_PASSWORD: example
    42      volumes:
    43        - ./pginit.sql:/docker-entrypoint-initdb.d/init.sql
    44  
    45  #  adminer:
    46  #    image: adminer
    47  #    restart: always
    48  #    ports:
    49  #      - 8080:8080
    50  
    51   #   depends_on:
    52   #     - zookeeper