Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ docker-compose exec -T node-1 "/opt/join_node.sh"
docker-compose exec -T node-2 "/opt/join_node.sh"

## Create DB ##
docker-compose exec -T master-node "/opt/create_db.sh"
docker-compose exec -T master-node "/opt/create_db.sh"
5 changes: 4 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ services:
master-node:
image: "${IMAGE}"
container_name: "master"
platform: linux/amd64
cap_add:
- SYS_RESOURCE
healthcheck:
Expand Down Expand Up @@ -32,6 +33,7 @@ services:
node-1:
image: "${IMAGE}"
container_name: "slave-1"
platform: linux/amd64
cap_add:
- SYS_RESOURCE
depends_on:
Expand Down Expand Up @@ -62,6 +64,7 @@ services:
node-2:
image: "${IMAGE}"
container_name: "slave-2"
platform: linux/amd64
cap_add:
- SYS_RESOURCE
depends_on:
Expand Down Expand Up @@ -96,4 +99,4 @@ networks:
config:
- subnet: 172.28.0.0/16
ip_range: 172.28.5.0/24
gateway: 172.28.5.254
gateway: 172.28.5.254