Upload New File

parent 9f36bb98
version: "3.4"
services:
keycloak:
image: jboss/keycloak:7.0.0
restart: always
# ports:
# - 9001:8080
# - 9008:8443
networks:
- mbk-net
hostname: keycloak
container_name: keycloak
volumes:
# themes > base
- type: bind
source: ./skb-keycloak-4_8_1/themes/base/login/messages
target: /opt/jboss/keycloak/themes/base/login/messages
- type: bind
source: ./skb-keycloak-4_8_1/themes/base/login/login.ftl
target: /opt/jboss/keycloak/themes/base/login/login.ftl
- type: bind
source: ./skb-keycloak-4_8_1/themes/base/login/template.ftl
target: /opt/jboss/keycloak/themes/base/login/template.ftl
- type: bind
source: ./skb-keycloak-4_8_1/themes/base/login/theme.properties
target: /opt/jboss/keycloak/themes/base/login/theme.properties
# themes > skb
- type: bind
source: ./skb-keycloak-4_8_1/themes/skb
target: /opt/jboss/keycloak/themes/skb
# - type: bind
# source: ./skb-keycloak-4_8_1/themes/skb/login/resources/img/mbs-logo.png
# target: /opt/jboss/keycloak/themes/skb/login/resources/img/skb-logo.png
# SSL
- type: bind
source: ./skb-keycloak-4_8_1/META-INF/keycloak-themes.json
target: /opt/jboss/keycloak/standalone/deployments/META-INF/keycloak-themes.json
# SSL
- type: bind
source: ./https/tls.crt
target: /etc/x509/https/tls.crt
- type: bind
source: ./https/tls.key
target: /etc/x509/https/tls.key
# Config
- type: bind
source: ./skb-keycloak-4_8_1/standalone_4_8_1.xml
target: /opt/jboss/keycloak/standalone/configuration/standalone.xml
environment:
- TZ=Asia/Kuala_Lumpur
- KEYCLOAK_USER=admin
- KEYCLOAK_PASSWORD=Ctsb@2018
- KEYCLOAK_LOGLEVEL=ALL
- PROXY_ADDRESS_FORWARDING=true
- DB_VENDOR=MYSQL
- DB_ADDR=192.168.200.104
- DB_PORT=3306
- DB_DATABASE=keycloak481db
- DB_USER=root
- DB_PASSWORD=Dar3D3^1L
emqx:
image: emqx/emqx:latest
restart: unless-stopped
networks:
- mbk-net
hostname: emqx
container_name: emqx
networks:
mbk-net:
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment