add kafka for dev
This commit is contained in:
@@ -8,7 +8,7 @@ networks:
|
||||
services:
|
||||
|
||||
device-registry:
|
||||
image: ghcr.io/swordsteel/hlaeja-device-registry:0.6.0
|
||||
image: ghcr.io/swordsteel/hlaeja-device-registry:0.7.0
|
||||
container_name: DeviceRegistry
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
@@ -61,7 +61,7 @@ services:
|
||||
- ./cert/device_api_keystore.p12:/app/resources/cert/keystore.p12
|
||||
|
||||
registry-api:
|
||||
image: ghcr.io/swordsteel/hlaeja-registry-api:0.3.0
|
||||
image: ghcr.io/swordsteel/hlaeja-registry-api:0.4.0
|
||||
container_name: RegistryApi
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
@@ -77,11 +77,14 @@ services:
|
||||
- ./cert/account_public_key.pem:/app/resources/cert/public_key.pem
|
||||
|
||||
account-registry:
|
||||
image: ghcr.io/swordsteel/hlaeja-account-registry:0.3.0
|
||||
image: ghcr.io/swordsteel/hlaeja-account-registry:0.4.0
|
||||
container_name: AccountRegistry
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
SPRING_PROFILES_ACTIVE: docker
|
||||
SPRING_KAFKA_PROPERTIES_SECURITY_PROTOCOL: SASL_PLAINTEXT
|
||||
SPRING_KAFKA_PROPERTIES_SASL_MECHANISM: PLAIN
|
||||
SPRING_KAFKA_PROPERTIES_SASL_JAAS_CONFIG: org.apache.kafka.common.security.plain.PlainLoginModule required username="kafka" password="password";
|
||||
networks:
|
||||
- develop
|
||||
ports:
|
||||
@@ -91,15 +94,19 @@ services:
|
||||
- ./cert/account_private_key.pem:/app/resources/cert/private_key.pem
|
||||
|
||||
management:
|
||||
image: ghcr.io/swordsteel/hlaeja-management:0.3.0
|
||||
image: ghcr.io/swordsteel/hlaeja-management:0.4.0
|
||||
container_name: Management
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
SPRING_PROFILES_ACTIVE: docker
|
||||
SPRING_KAFKA_PROPERTIES_SECURITY_PROTOCOL: SASL_PLAINTEXT
|
||||
SPRING_KAFKA_PROPERTIES_SASL_MECHANISM: PLAIN
|
||||
SPRING_KAFKA_PROPERTIES_SASL_JAAS_CONFIG: org.apache.kafka.common.security.plain.PlainLoginModule required username="kafka" password="password";
|
||||
networks:
|
||||
- develop
|
||||
ports:
|
||||
- 9060:8080
|
||||
- 9060:8443
|
||||
# mount a local `account_public_key.pem` into the container.
|
||||
volumes:
|
||||
- ./cert/account_public_key.pem:/app/resources/cert/public_key.pem
|
||||
- ./cert/management_keystore.p12:/app/resources/cert/keystore.p12
|
||||
|
||||
Reference in New Issue
Block a user