diff --git a/README.md b/README.md index eac27f4..4861c4b 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,19 @@ Plugin containing gradle task and setting used by common, library, and service r Library containing all internal messages for services. GitHub [Hlæja Common Messages](https://github.com/swordsteel/hlaeja-common-messages) +## Services + +### Device Data + +Store measurement from electronic devices. GitHub [Hlæja Device Data](https://github.com/swordsteel/hlaeja-device-data) + +#### Environment + +```text +SPRING_PROFILES_ACTIVE: docker +INFLUXDB_TOKEN: influxdbToken== +``` + ## Databases ### InfluxDB diff --git a/compose.yml b/compose.yml index 77baf62..ce2fea8 100644 --- a/compose.yml +++ b/compose.yml @@ -10,6 +10,18 @@ volumes: services: + device-data: + image: hlaeja-device-data:0.1.0 + container_name: DeviceData + restart: unless-stopped + environment: + SPRING_PROFILES_ACTIVE: docker + INFLUXDB_TOKEN: influxdbToken== + networks: + - develop + ports: + - "9020:8080" + influxdb: image: influxdb:2.7.10-alpine container_name: InfluxDB