forked from CCI-MOC/sso
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
31 lines (29 loc) · 883 Bytes
/
docker-compose.yml
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
version: "3"
services:
keycloak-moc:
build:
context: .
dockerfile: Dockerfile
image: massopencloud/keycloak-moc:r2
environment:
KEYCLOAK_USER: admin
KEYCLOAK_PASSWORD: nomoresecret
DB_VENDOR: mariadb
DB_DATABASE: keycloak
DB_USER: keycloak
DB_PASSWORD: "nomoresecret"
DB_ADDR: "keycloak-database"
DB_PORT: "3306"
JAVA_OPTS: "-server -Xms128m -Xmx1024m -XX:MetaspaceSize=128M -XX:MaxMetaspaceSize=512m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true"
ports:
- "8080:8080" # host:container
- "8443:8443"
keycloak-database:
image: mariadb:latest
environment:
MYSQL_ROOT_PASSWORD: nomoresecret
MYSQL_DATABASE: keycloak
MYSQL_USER: keycloak
MYSQL_PASSWORD: nomoresecret
ports:
- "3306:3306"