Change dev container names
This commit is contained in:
parent
799286ca76
commit
9ee55a720b
|
@ -12,6 +12,7 @@ volumes:
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: pathogen/monolith:latest
|
image: pathogen/monolith:latest
|
||||||
|
container_name: monolith
|
||||||
build: ./docker
|
build: ./docker
|
||||||
volumes:
|
volumes:
|
||||||
- ${PORTAINER_GIT_DIR}:/code
|
- ${PORTAINER_GIT_DIR}:/code
|
||||||
|
@ -32,6 +33,7 @@ services:
|
||||||
|
|
||||||
threshold:
|
threshold:
|
||||||
image: pathogen/threshold:latest
|
image: pathogen/threshold:latest
|
||||||
|
container_name: threshold
|
||||||
build: ./legacy/docker
|
build: ./legacy/docker
|
||||||
volumes:
|
volumes:
|
||||||
- ${PORTAINER_GIT_DIR}:/code
|
- ${PORTAINER_GIT_DIR}:/code
|
||||||
|
@ -104,6 +106,7 @@ services:
|
||||||
|
|
||||||
kafka:
|
kafka:
|
||||||
image: bitnami/kafka
|
image: bitnami/kafka
|
||||||
|
container_name: kafka
|
||||||
depends_on:
|
depends_on:
|
||||||
- zookeeper
|
- zookeeper
|
||||||
- broker
|
- broker
|
||||||
|
@ -124,7 +127,7 @@ services:
|
||||||
# timeout: 2s
|
# timeout: 2s
|
||||||
# retries: 15
|
# retries: 15
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "kafka-topics.sh", "--list", "--bootstrap-server", "kafka:9092"]
|
test: ["CMD", \\]
|
||||||
start_period: 15s
|
start_period: 15s
|
||||||
interval: 2s
|
interval: 2s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
|
|
Loading…
Reference in New Issue