rename env vars into docker-compose.yaml file
This commit is contained in:
+7
-7
@@ -116,18 +116,18 @@ services:
|
|||||||
- dev
|
- dev
|
||||||
- kk
|
- kk
|
||||||
environment:
|
environment:
|
||||||
KEYCLOAK_ADMIN: admin
|
KC: admin
|
||||||
KEYCLOAK_ADMIN_PASSWORD: admin
|
KC_ADMIN_PASSWORD: admin
|
||||||
KC_DB: postgres
|
KC_DB: postgres
|
||||||
KC_DB_URL: jdbc:postgresql://kk_db:5432/keycloak
|
KC_DB_URL: jdbc:postgresql://kk_db:5432/keycloak
|
||||||
KC_DB_USERNAME: postgres
|
KC_DB_USERNAME: postgres
|
||||||
KC_DB_PASSWORD: postgres
|
KC_DB_PASSWORD: postgres
|
||||||
PROXY_ADDRESS_FORWARDING: "true"
|
PROXY_ADDRESS_FORWARDING: "true"
|
||||||
KEYCLOAK_HTTPS_PORT: 8443
|
KС_HTTPS_PORT: 8443
|
||||||
KEYCLOAK_HTTP_PORT: 8080
|
KС_HTTP_PORT: 8080
|
||||||
KEYCLOAK_LOGLEVEL: INFO
|
KС_LOGLEVEL: INFO
|
||||||
KEYCLOAK_HTTP_PROXY: true
|
KС_HTTP_PROXY: true
|
||||||
KEYCLOAK_HTTPS_REDIRECT: false
|
KС_HTTPS_REDIRECT: false
|
||||||
KC_HOSTNAME_STRICT: "false"
|
KC_HOSTNAME_STRICT: "false"
|
||||||
KC_PROXY: edge
|
KC_PROXY: edge
|
||||||
KC_HTTP_ENABLED: "true"
|
KC_HTTP_ENABLED: "true"
|
||||||
|
|||||||
+1
-1
@@ -18,7 +18,7 @@ ENV KC_DB_URL=jdbc:postgresql://kk_db:5432/keycloak
|
|||||||
ENV KC_DB_USERNAME=postgres
|
ENV KC_DB_USERNAME=postgres
|
||||||
ENV KC_DB_PASSWORD=postgres
|
ENV KC_DB_PASSWORD=postgres
|
||||||
ENV KC_HOSTNAME=yalarba.ru
|
ENV KC_HOSTNAME=yalarba.ru
|
||||||
ENV KEYCLOAK_FRONTEND_URL=https://yalarba.ru/auth
|
ENV KC_FRONTEND_URL=https://yalarba.ru/auth
|
||||||
|
|
||||||
ENTRYPOINT ["/opt/keycloak/bin/kc.sh"]
|
ENTRYPOINT ["/opt/keycloak/bin/kc.sh"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user