-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
69 lines (66 loc) · 2.19 KB
/
.env.example
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
58
59
60
61
62
63
64
65
66
67
68
69
## Api
export API_HOST=0.0.0.0
export API_PORT=5000
## Logging
export LOGGING_RENDER_JSON_LOGS=false
export LOGGING_PATH=
export LOGGING_LEVEL=DEBUG
## Keycloak
# Host region start
# Docs: https://www.keycloak.org/server/hostname
export KEYCLOAK_HOSTNAME=localhost
export KEYCLOAK_HOSTNAME_FOR_API=keycloak-example.keycloak
export KEYCLOAK_HOSTNAME_PORT=8080
# Host region end
# Database region start
# Docs: https://www.keycloak.org/server/db
export KEYCLOAK_DB_VENDOR=postgres
export KEYCLOAK_JDBC_VENDOR=postgresql
export KEYCLOAK_DB_ADDR=keycloak_example.keycloak_postgres
export KEYCLOAK_DB_PORT=5432
export KEYCLOAK_DB_NAME=keycloak
export KEYCLOAK_DB_USERNAME=admin
export KEYCLOAK_DB_PASSWORD=admin
# Database region end
# Logging region start
# Docs: https://www.keycloak.org/server/logging
export KEYCLOAK_LOG_CONSOLE_COLOR=false
export KEYCLOAK_LOG_CONSOLE_OUTPUT=default
export KEYCLOAK_LOG_FILE_FORMAT=%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p [%c] (%t) %s%e%n
export KEYCLOAK_LOG_LEVEL=info
# Logging region end
# Features region start
# Docs: https://www.keycloak.org/server/features
export KEYCLOAK_FEATURES=token-exchange
# Features region end
# Health region start
# Docs: https://www.keycloak.org/server/health
export KEYCLOAK_HEALTH_ENABLED=true
# Health region end
# Metrics region start
# Docs: https://www.keycloak.org/server/configuration-metrics
export KEYCLOAK_METRICS_ENABLED=true
# Metrics region end
# Command region start
export KEYCLOAK_COMMAND=start-dev
# Command region end
# Initial data region start
export KEYCLOAK_ADMIN=admin
export KEYCLOAK_ADMIN_PASSWORD=admin
# Initial data region end
# Realms and clients region start
export KEYCLOAK_REALM_ID=
export KEYCLOAK_CLIENT_ID=
export KEYCLOAK_CLIENT_SECRET=
export KEYCLOAK_ADMIN_CLIENT_ID=admin-cli
export KEYCLOAK_ADMIN_CLIENT_SECRET=
# Realms and clients region end
# Urls region start
export KEYCLOAK_CALLBACK_URL=http://localhost:5000/auth/callback # Callback URL of the instance, used for auth flows. Must match at least one
# Urls region end
## Keycloak postgres
export KEYCLOAK_POSTGRES_HOST=localhost
export KEYCLOAK_POSTGRES_PORT=5432
export KEYCLOAK_POSTGRES_DB=keycloak
export KEYCLOAK_POSTGRES_USER=admin
export KEYCLOAK_POSTGRES_PASSWORD=admin