github.com/asynkron/protoactor-go@v0.0.0-20240308120642-ef91a6abee75/docker-compose.yml (about)

     1  # docker-compose up -d
     2  # @see https://docs.docker.com/compose/compose-file/
     3  version: '3.4'
     4  services:
     5    consul:
     6      container_name: dev-consul
     7      image: consul:1.10
     8      restart: unless-stopped
     9      ports:
    10        - 8500:8500
    11        - 8600:8600/udp
    12      command: agent -server -ui -node=server-1 -bootstrap-expect=1 -client=0.0.0.0
    13  
    14  
    15    etcd:
    16      container_name: dev-etcd
    17      image: quay.io/coreos/etcd:v3.5.0
    18      restart: unless-stopped
    19      ports:
    20        - 2379:2379
    21        - 2380:2380
    22      command: >
    23        /usr/local/bin/etcd
    24          --name node1
    25          --data-dir=/etcd-data
    26          --listen-client-urls    http://0.0.0.0:2379
    27          --listen-peer-urls      http://0.0.0.0:2380
    28          --advertise-client-urls http://127.0.0.1:2379
    29          --initial-advertise-peer-urls http://127.0.0.1:2380
    30          --initial-cluster node1=http://127.0.0.1:2380
    31          --auto-compaction-mode=periodic 
    32          --auto-compaction-retention=30m
    33  
    34    zookeeper:
    35      container_name: dev-zookeeper
    36      image: zookeeper:3.7
    37      restart: unless-stopped
    38      ports:
    39        - 8000:2181