add redis and cleanup
- add doc/global_settings.md - docker_database.md - update dependency.md - extrack hlaeja from development-compose.yml to hlaeja-compose.yml - rename compose.yml to development-compose.yml - extract text from readme.md - databases to doc/docker_database.md - hlaeja service to doc/docker_hlaeja.md - move and rename structure.md to doc/dependency.md - move and rename identity.md to doc/rsa_key.mk - move and rename certificate.md to doc/keystore.md
This commit is contained in:
74
hlaeja-compose.yml
Normal file
74
hlaeja-compose.yml
Normal file
@@ -0,0 +1,74 @@
|
||||
name: hlaeja-development
|
||||
|
||||
networks:
|
||||
develop:
|
||||
name: develop
|
||||
external: true
|
||||
|
||||
services:
|
||||
|
||||
device-registry:
|
||||
image: hlaeja-device-registry:0.3.0-SNAPSHOT
|
||||
container_name: DeviceRegistry
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
SPRING_PROFILES_ACTIVE: docker
|
||||
networks:
|
||||
- develop
|
||||
ports:
|
||||
- 9010:8080
|
||||
# mount a local `device_private_key.pem` into the container.
|
||||
volumes:
|
||||
- ./cert/device_private_key.pem:/app/resources/cert/private_key.pem
|
||||
|
||||
device-data:
|
||||
image: hlaeja-device-data:0.1.1
|
||||
container_name: DeviceData
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
SPRING_PROFILES_ACTIVE: docker
|
||||
INFLUXDB_TOKEN: influxdbToken==
|
||||
networks:
|
||||
- develop
|
||||
ports:
|
||||
- 9020:8080
|
||||
|
||||
device-configuration:
|
||||
image: hlaeja-device-configuration:0.1.0
|
||||
container_name: DeviceConfiguration
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
SPRING_PROFILES_ACTIVE: docker
|
||||
networks:
|
||||
- develop
|
||||
ports:
|
||||
- 9030:8080
|
||||
|
||||
device-api:
|
||||
image: hlaeja-device-api:0.2.0
|
||||
container_name: DeviceApi
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
SPRING_PROFILES_ACTIVE: docker
|
||||
networks:
|
||||
- develop
|
||||
ports:
|
||||
- 9000:8443
|
||||
# mount a local `device_public_key.pem` and `device_api_keystore.p12` into the container.
|
||||
volumes:
|
||||
- ./cert/device_public_key.pem:/app/resources/cert/public_key.pem
|
||||
- ./cert/device_api_keystore.p12:/app/resources/cert/keystore.p12
|
||||
|
||||
registry-api:
|
||||
image: hlaeja-registry-api:0.1.0
|
||||
container_name: RegistryApi
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
SPRING_PROFILES_ACTIVE: docker
|
||||
networks:
|
||||
- develop
|
||||
ports:
|
||||
- 9040:8443
|
||||
# mount a local `registry_api_keystore.p12` into the container.
|
||||
volumes:
|
||||
- ./cert/registry_api_keystore.p12:/app/resources/cert/keystore.p12
|
||||
Reference in New Issue
Block a user