Warning, /wikitolearn/wikitolearn-shared-services/docker-compose.yml is written in an unsupported language. File is not indexed.

0001 version: '3.4'
0002 services:
0003   keycloak:
0004     image: jboss/keycloak:4.5.0.Final
0005     command: ["-b", "0.0.0.0", "-Djboss.socket.binding.port-offset=1000"]
0006     environment:
0007       KEYCLOAK_USER: ${KEYCLOAK_USER}
0008       KEYCLOAK_PASSWORD: ${KEYCLOAK_PASSWORD}
0009       DB_ADDR: keycloak-db
0010       MYSQL_PORT: 3306
0011       DB_DATABASE: keycloak
0012       DB_USER: keycloak
0013       DB_PASSWORD: keycloak
0014       DB_VENDOR: mariadb
0015     ports:
0016       - "9080:9080"
0017       - "9443:9443"
0018     depends_on:
0019       - keycloak-db
0020   keycloak-db:
0021     image: mariadb:10.1
0022     volumes:
0023       - keycloak-db:/var/lib/mysql
0024     environment:
0025       MYSQL_ROOT_PASSWORD: root
0026       MYSQL_DATABASE: keycloak
0027       MYSQL_USER: keycloak
0028       MYSQL_PASSWORD: keycloak
0029   shared-mongodb-4:
0030     image: "mongo:4"
0031     ports:
0032       - "27017:27017"
0033     volumes:
0034     - shared-mongodb-4-configdb:/data/configdb
0035     - shared-mongodb-4-db:/data/db
0036 
0037 volumes:
0038   shared-mongodb-4-configdb:
0039   shared-mongodb-4-db:
0040   keycloak-db: