-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
56 lines (44 loc) · 1.34 KB
/
docker-compose.yaml
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
version: '3.3'
services:
db:
image: postgres:13.1
environment:
POSTGRES_USER: "ada"
POSTGRES_PASSWORD: "ada"
POSTGRES_DB: "adaptive"
restart: unless-stopped
ports:
- "5432:5432"
backend:
image: ch.idsia.adaptive:latest
build:
context: .
environment:
MAGIC_API_KEY: "QWRhcHRpdmUgU3VydmV5"
DB_DBMS: "postgresql"
DB_HOSTNAME: "db"
DB_PORT: "5432"
DB_SCHEMA: "adaptive"
DB_USERNAME: "ada"
DB_PASSWORD: "ada"
ADAPQUEST_CONTROLLER_ASSISTANT: "false"
ADAPQUEST_CONTROLLER_CONSOLE: "false"
ADAPQUEST_CONTROLLER_DASHBOARD: "false"
ADAPQUEST_CONTROLLER_DEMO: "true"
ADAPQUEST_CONTROLLER_EXPERIMENTS: "false"
ADAPQUEST_CONTROLLER_LIVE: "false"
SPRING_PROFILE_ACTIVE: "demo"
ADAPQUEST_PAGE_TITLE: "AdapQuest"
ADAPQUEST_EXIT_URL: "" # not used if empty
ADAPQUEST_EXIT_TEXT: "" # not used if empty
ADAPQUEST_KEYCLOAK_ROLE: "user" # not used if empty
ADAPQUEST_KEYCLOAK_ADMIN: "admin" # used only with console
ADAPQUEST_KEYCLOAK_FIELD: "email"
KEYCLOAK_ENABLED: "true"
KEYCLOAK_REALM: "<realm>"
KEYCLOAK_AUTH_SERVER_URL: "<url>"
KEYCLOAK_RESOURCE: "<client-id>"
KEYCLOAK_CREDENTIALS_SECRET: "<secret>"
restart: unless-stopped
ports:
- "8080:8080"