Created
August 8, 2018 08:30
-
-
Save riccardone/61463651eeea0ee6d52bc88f6a0d6a1b to your computer and use it in GitHub Desktop.
EventStore docker-compose.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.4' | |
services: | |
esclienttest: | |
image: testclient | |
build: | |
context: . | |
dockerfile: Dockerfile | |
depends_on: | |
- eventstore1 | |
- eventstore2 | |
- eventstore3 | |
eventstore1: | |
image: eventstore/eventstore:release-4.1.0 | |
hostname: eventstore1 | |
ports: | |
- 1113:1113 | |
- 2112:2112 | |
environment: | |
EVENTSTORE_CLUSTER_DNS: eventstore1 | |
EVENTSTORE_CLUSTER_SIZE: 3 | |
EVENTSTORE_CLUSTER_GOSSIP_PORT: 2112 | |
EVENTSTORE_EXT_IP_ADVERTISE_AS: 172.19.0.2 | |
eventstore2: | |
image: eventstore/eventstore:release-4.1.0 | |
hostname: eventstore2 | |
environment: | |
EVENTSTORE_CLUSTER_DNS: eventstore1 | |
EVENTSTORE_CLUSTER_SIZE: 3 | |
EVENTSTORE_CLUSTER_GOSSIP_PORT: 2112 | |
EVENTSTORE_EXT_IP_ADVERTISE_AS: 172.19.0.3 | |
eventstore3: | |
image: eventstore/eventstore:release-4.1.0 | |
hostname: eventstore3 | |
environment: | |
EVENTSTORE_CLUSTER_DNS: eventstore1 | |
EVENTSTORE_CLUSTER_SIZE: 3 | |
EVENTSTORE_CLUSTER_GOSSIP_PORT: 2112 | |
EVENTSTORE_EXT_IP_ADVERTISE_AS: 172.19.0.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment