Skip to content

Commit

Permalink
Comment out client docker containers
Browse files Browse the repository at this point in the history
  • Loading branch information
sherrybai authored May 13, 2019
1 parent 0baa77e commit f4c2fe6
Showing 1 changed file with 28 additions and 24 deletions.
52 changes: 28 additions & 24 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,30 +48,34 @@ services:
static-network:
ipv4_address: 172.20.128.5

client1:
build:
context: .
dockerfile: Dockerfile.leader_client
restart: on-failure
depends_on:
- "node1"
- "node2"
- "node3"
- "node4"
- "node5"
networks:
static-network:
ipv4_address: 172.20.192.1
client2:
build:
context: .
dockerfile: Dockerfile.acquire_leader
restart: on-failure
depends_on:
- "client1"
networks:
static-network:
ipv4_address: 172.20.193.1
##################################################################
# Client docker containers: uncomment to build with server nodes #
##################################################################
# client1:
# build:
# context: .
# dockerfile: Dockerfile.leader_client
# restart: on-failure
# depends_on:
# - "node1"
# - "node2"
# - "node3"
# - "node4"
# - "node5"
# networks:
# static-network:
# ipv4_address: 172.20.192.1
# client2:
# build:
# context: .
# dockerfile: Dockerfile.acquire_leader
# restart: on-failure
# depends_on:
# - "client1"
# networks:
# static-network:
# ipv4_address: 172.20.193.1

networks:
static-network:
ipam:
Expand Down

0 comments on commit f4c2fe6

Please sign in to comment.