Docker Compose profiles
Docker services
The following services are used by the main OpenRemote code base:
- proxy - Reverse SSL proxy (HAProxy) for the web services with auto SSL certificate generation (Let's Encrypt)
- manager - Runs the OpenRemote Manager (by default depends on PostgreSQL and Keycloak)
- postgresql - PostgreSQL DB
- keycloak - Keycloak identity provider service
- map - tileserver-gl service that is used for serving raster map tiles (only needed for UI components/apps that use mapbox-js)
Docker Compose profiles
Docker Compose profiles (Docker Compose .yml
files) are used to configure and start required services; the standard profiles are located in the profile folder of the main OpenRemote repository although the demo
profile is in the root of the repo.
The standard profiles are:
Deploy (deploy.yml)
This is the main profile which all other profiles extend; it can't be used directly.
Demo (../docker-compose.yml)
This is a demo profile which starts all services and provides a quick start for getting a running local deployment.
Prerequisites
Docker images must have been pulled from Docker Hub:
docker-compose pull
Or the Docker images must have been built locally (requires the full stack be built):
./gradlew clean installDist
docker-compose build
To start the containers:
docker-compose up -d