gitlab.nesad.fit.vutbr.cz/blended/libblended@v0.0.0-20221202124402-2bee159339df/docker-compose.yml (about)

     1  version: '3'
     2  
     3  services:
     4    bootnode:
     5      image: koutensky/bootnode:latest
     6      networks:
     7        blended:
     8          ipv4_address: 172.16.238.10
     9      # expose:
    10      #   - 30303
    11  
    12    ipfs:
    13      image: ipfs/go-ipfs:v0.6.0
    14      networks:
    15        blended:
    16          ipv4_address: 172.16.238.20
    17      # expose:
    18      #   - 5001
    19  
    20    postgres:
    21      container_name: catalog_database
    22      image: postgres:12.13
    23      environment:
    24        POSTGRES_USER: ${POSTGRES_USER:-postgres}
    25        POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-changeme}
    26      networks:
    27        blended:
    28          ipv4_address: 172.16.238.30
    29  #    expose:
    30  #      - 5432
    31  
    32    test:
    33      depends_on:
    34        - bootnode
    35        - ipfs
    36      image: koutensky/ethereum:latest
    37      volumes:
    38        - .:/build
    39      command: sh -c "cd /build && script/before_script.sh && script/script.sh"
    40      environment:
    41        BOOTNODE_KEY: 6d0a7467aac370e93c883885e60d7ed2dc8eaad95aeb7b6b09a34f9feca9249fb671b8d7f43f56cbe269fa70b5802a361f2cb91bf37ee0f54a31a6b51dca9092
    42        BOOTNODE_IP: 172.16.238.10:30303
    43        IPFS_IP: 172.16.238.20:5001
    44        ETHEREUM_IP: 127.0.0.1:8546
    45      networks:
    46        blended:
    47          ipv4_address: 172.16.238.40
    48      extra_hosts:
    49        - bootnode:172.16.238.10
    50        - ipfs:172.16.238.20
    51  
    52  #    pgadmin:
    53  #      container_name: pgadmin_container
    54  #      image: dpage/pgadmin4
    55  #      environment:
    56  #        PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL:-pgadmin4@pgadmin.org}
    57  #        PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD:-admin}
    58  #      ports:
    59  #        - "${PGADMIN_PORT:-5050}:80"
    60  #      networks:
    61  #        blended:
    62  #          ipv4_address: 172.16.238.50
    63  #      restart: unless-stopped
    64  
    65  networks:
    66    blended:
    67      ipam:
    68        driver: default
    69        config:
    70          - subnet: "172.16.238.0/24"