100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
# OpenRemote v3
#
# Profile for doing UI development work.
#
# Please see profile/deploy.yml for configuration details for each service.
#
volumes:
manager-data:
services:
keycloak:
extends:
file: deploy.yml
service: keycloak
#volumes:
# Map custom themes for theme development
# - /path/to/theme/src/main/resources/theme/openremote:/opt/keycloak/themes/dev
# Access directly if needed on localhost
ports:
- "8081:8080"
depends_on:
postgresql:
condition: service_healthy
environment:
# Prevent theme caching during dev
KEYCLOAK_START_OPTS: --spi-theme-static-max-age=-1 --spi-theme-cache-themes=false --spi-theme-cache-templates=false
# manager has a different base URL and is assumed to be reachable at this URL
OR_MANAGER_URL: ${OR_MANAGER_URL:-http://127.0.0.1:8080}
postgresql:
extends:
file: deploy.yml
service: postgresql
# No volume is mapped at all with this configuration, DB is ephemeral
# Access directly if needed on localhost
ports:
- "5432:5432"
manager:
extends:
file: deploy.yml
service: manager
image: openremote/manager:${MANAGER_VERSION:-develop}
depends_on:
postgresql:
condition: service_healthy
volumes:
- manager-data:/storage
environment:
OR_SETUP_RUN_ON_RESTART: ${OR_SETUP_RUN_ON_RESTART:-true}
OR_DEV_MODE: ${OR_DEV_MODE:-true}
OR_SETUP_TYPE: "demo"
ports:
- "8080:8080"