add persistence to docker-compose
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
name: infinimotion
|
||||
|
||||
networks:
|
||||
backend_network:
|
||||
driver: bridge
|
||||
database_network:
|
||||
driver: bridge
|
||||
redpanda_network:
|
||||
driver: bridge
|
||||
|
||||
services:
|
||||
backend:
|
||||
image: git.infinimotion.de/infinimotion/backend:latest
|
||||
@@ -13,12 +17,18 @@ services:
|
||||
- redpanda_network
|
||||
depends_on:
|
||||
- redpanda-0
|
||||
#environment:
|
||||
# KAFKA_SECURITY_PROTOCOL: "SASL_PLAINTEXT"
|
||||
# KAFKA_SASL_MECHANISM: "SCRAM-SHA-256"
|
||||
# KAFKA_SASL_JAAS_CONFIG: 'org.apache.kafka.common.security.scram.ScramLoginModule required username="im-admin" password="a552855c0d842e90895121cf614c31f950086cab";'
|
||||
#ports:
|
||||
# - 8080:8080
|
||||
persistence:
|
||||
image: git.infinimotion.de/infinimotion/persistence:latest
|
||||
container_name: persistence
|
||||
networks:
|
||||
- database_network
|
||||
- redpanda_network
|
||||
depends_on:
|
||||
- redpanda-0
|
||||
ports:
|
||||
- 8081:8081
|
||||
redpanda-0:
|
||||
command:
|
||||
- redpanda
|
||||
|
||||
Reference in New Issue
Block a user