generated from inventage/keycloak-custom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkeycloak.common.env
78 lines (54 loc) · 3.01 KB
/
keycloak.common.env
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
70
71
72
73
74
75
76
77
78
# Keycloak configuration for the runtime stage only.
#
# https://www.keycloak.org/server/configuration
# https://www.keycloak.org/server/configuration-production
# https://www.keycloak.org/server/all-config?f=config
###################################################################################################################
### Initial User
### https://www.keycloak.org/server/configuration
### Important: change the values of KEYCLOAK_ADMIN and KEYCLOAK_ADMIN_PASSWORD and move them to secrets.env
# KEYCLOAK_ADMIN is the username of the initial admin user
KEYCLOAK_ADMIN=admin
# KEYCLOAK_ADMIN_PASSWORD is the password of the initial admin user
KEYCLOAK_ADMIN_PASSWORD=admin
###################################################################################################################
### Database
### https://www.keycloak.org/server/db
# KC_DB_URL is the full database JDBC URL
KC_DB_URL=jdbc:postgresql://localhost:15432/postgres
# KC_DB_USERNAME is the username used for the JDBC connection
KC_DB_USERNAME=postgres
# KC_DB_PASSWORD is the password used for the JDBC connection
KC_DB_PASSWORD=postgres
###################################################################################################################
### Hostname for the endpoints: frontend, backend, and administrative
### https://www.keycloak.org/server/hostname
# KC_HOSTNAME will set the auth-server-url to <scheme>://KC_HOSTNAME:<port> (production mode required)
KC_HOSTNAME=localhost
# KC_HOSTNAME_PORT will set the auth-server-url to <scheme>://<host>:KC_HOSTNAME_PORT
KC_HOSTNAME_PORT=8080
# KC_HOSTNAME_STRICT is for dynamically resolve the hostname from incoming requests, default is true
###################################################################################################################
### HTTP/TLS
### https://www.keycloak.org/server/enabletls
# KC_HTTP_ENABLED is for enabling the KC_HTTP_PORT, default is false
# true : for keycloak-config-cli
KC_HTTP_ENABLED=true
# KC_HTTP_HOST, default is 0.0.0.0
# KC_HTTP_PORT is the port for HTTP, default is 8080
# KC_HTTPS_PORT is the port for HTTPS, default is 8443
# KC_HOSTNAME_STRICT_HTTPS will set the scheme of auth-server-url true => HTTPS / false => HTTP, default is true
KC_HOSTNAME_STRICT_HTTPS=false
# KC_HTTPS_CERTIFICATE_FILE (production mode required)
KC_HTTPS_CERTIFICATE_FILE=./conf/localhost.pem
# KC_HTTPS_CERTIFICATE_KEY_FILE (production mode required)
KC_HTTPS_CERTIFICATE_KEY_FILE=./conf/localhost-key.pem
###################################################################################################################
### Reverse Proxy
### https://www.keycloak.org/server/reverseproxy
# KC_PROXY is the name of the proxy mode: edge, reencrypt, passthrough
KC_PROXY=edge
###################################################################################################################
### Logging
# KC_LOG_LEVEL is the level of the root category or a comma-separated list of individual categories and their levels seperated by a colon
KC_LOG_LEVEL=info,org.hibernate.SQL:debug