forked from openremote/openremote
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
58 lines (51 loc) · 1.51 KB
/
docker-compose.yml
File metadata and controls
58 lines (51 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# OpenRemote v3
#
# Profile that runs the vanilla stack on https://localhost using a self-signed SSL certificate,
# with username 'admin' and password 'secret'. There is no map data available in the vanilla
# system so the map tile server will not function. Persistent data is stored in a docker
# volume called postgresql-data between restarts, simply delete this volume to reset the
# system to an empty state.
#
# Please see profile/deploy.yml for configuration details for each service.
#
version: '2.4'
volumes:
temp-data:
services:
proxy:
image: openremote/proxy:${PROXY_VERSION:-2.1.2.3}
restart: always
depends_on:
manager:
condition: service_healthy
ports:
- "80:80"
- "443:443"
- "8883:8883"
postgresql:
restart: always
image: openremote/postgresql:${POSTGRESQL_VERSION:-9.6.21.0}
volumes:
- temp-data:/tmp
keycloak:
restart: always
image: openremote/keycloak:${KEYCLOAK_VERSION:-13.0.1.0}
depends_on:
postgresql:
condition: service_healthy
environment:
KEYCLOAK_FRONTEND_URL: ${EXTERNAL_URL:-https://localhost}/auth
KEYCLOAK_PASSWORD: ${SETUP_ADMIN_PASSWORD:-secret}
manager:
restart: always
image: openremote/manager:${MANAGER_VERSION:-latest}
depends_on:
keycloak:
condition: service_healthy
environment:
DEV_MODE: ${DEV_MODE:-false}
SETUP_ADMIN_PASSWORD: ${SETUP_ADMIN_PASSWORD:-secret}
volumes:
- temp-data:/tmp
# devices:
# - /dev/ttyACM0:/dev/ttyS0