github.com/hellofresh/janus@v0.0.0-20230925145208-ce8de8183c67/examples/front-proxy-cluster/docker-compose.yml (about)

     1  version: '3.3'
     2  services:
     3  
     4    janus1:
     5      image: hellofreshtech/janus
     6      ports:
     7        - "8080:8080"
     8        - "8081:8081"
     9      depends_on:
    10        - service1
    11        - janus-database
    12      volumes:
    13        - ./janus.toml:/etc/janus/janus.toml
    14        - ./apis:/etc/janus/apis
    15  
    16    janus2:
    17      image: hellofreshtech/janus
    18      ports:
    19        - "8082:8080"
    20        - "8083:8081"
    21      depends_on:
    22        - service1
    23        - janus-database
    24      volumes:
    25        - ./janus.toml:/etc/janus/janus.toml
    26        - ./apis:/etc/janus/apis
    27  
    28    janus3:
    29      image: hellofreshtech/janus
    30      ports:
    31        - "8084:8080"
    32        - "8085:8081"
    33      depends_on:
    34        - service1
    35        - janus-database
    36      volumes:
    37        - ./janus.toml:/etc/janus/janus.toml
    38        - ./apis:/etc/janus/apis
    39  
    40    service1:
    41      image: rodolpheche/wiremock
    42      ports:
    43        - '9089:8080'
    44      volumes:
    45        - ../front-proxy/stubs:/home/wiremock/mappings
    46  
    47    janus-database:
    48        image: mongo
    49        ports:
    50          - "27017:27017"