Add hostnames to splinter containers in splinter example
Prompts inside the containers use the configured value, making
documentation easier to write and follow.
@@ -104,6 +104,7 @@ services:
db-alpha:
image: postgres
container_name: db-alpha
+ hostname: db-alpha
restart: always
expose:
- 5432
@@ -115,6 +116,7 @@ services:
gridd-alpha:
image: gridd
container_name: gridd-alpha
+ hostname: gridd-alpha
build:
context: ../..
dockerfile: daemon/Dockerfile
@@ -140,6 +142,7 @@ services:
splinterd-alpha:
image: splintercommunity/splinterd:experimental
container_name: splinterd-alpha
+ hostname: splinterd-alpha
expose:
- 8044
ports:
@@ -181,6 +184,7 @@ services:
db-beta:
image: postgres
container_name: db-beta
+ hostname: db-beta
restart: always
expose:
- 5432
@@ -192,6 +196,7 @@ services:
gridd-beta:
image: gridd
container_name: gridd-beta
+ hostname: gridd-beta
build:
context: ../..
dockerfile: daemon/Dockerfile
@@ -217,6 +222,7 @@ services:
splinterd-beta:
image: splintercommunity/splinterd:experimental
container_name: splinterd-beta
+ hostname: splinterd-beta
expose:
- 8044
ports:
