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

     1  version: '3'
     2  services:
     3  
     4    janus:
     5      image: motivlabs/janus:debug
     6      ports:
     7        - "8080:8080"
     8        - "8081:8081"
     9        - "40000:40000"
    10      environment:
    11        - debug=1
    12      depends_on:
    13        - service1
    14        - janus-database
    15      volumes:
    16        - ./janus.toml:/etc/janus/janus.toml
    17        - ~/dev/motiv/janus:/janus
    18  
    19    janus-database:
    20      image: cassandra:latest
    21      container_name: db
    22      ports:
    23        - "9042:9042"
    24      environment:
    25        - MAX_HEAP_SIZE=1G
    26        - HEAP_NEWSIZE=250M
    27        - JAVA_OPTS="-Dcassandra.skip_wait_for_gossip_to_settle=0 -Dcassandra.num_tokens=1 -Dcassandra.initial_token=1"
    28  
    29    service1:
    30      image: rodolpheche/wiremock
    31      ports:
    32        - '9089:8080'
    33      volumes:
    34        - ../front-proxy/stubs:/home/wiremock/mappings