-
Notifications
You must be signed in to change notification settings - Fork 45
/
docker-compose.yml
50 lines (48 loc) · 1.54 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
services:
mariadb:
container_name: mariadb
image: mariadb:10.4.8
ports:
- "3306"
environment:
MYSQL_DATABASE: "keycloak"
MYSQL_PASSWORD: "password"
MYSQL_RANDOM_ROOT_PASSWORD: "yes"
MYSQL_USER: "keycloak"
keycloak:
container_name: keycloak
image: quay.io/ukhomeofficedigital/keycloak:v15.0.2
ports:
- "8080:8080"
links:
- mariadb
- maildev
volumes:
- ./.docker-compose/keycloak.env:/etc/secrets/keycloak.env
- ./govuk/:/opt/jboss/keycloak/themes/govuk/
- ./govuk-internal/:/opt/jboss/keycloak/themes/govuk-internal/
- ./govuk-internal-cba/:/opt/jboss/keycloak/themes/govuk-internal-cba/
- ./govuk-internal-dq/:/opt/jboss/keycloak/themes/govuk-internal-dq/
- ./govuk-cop/:/opt/jboss/keycloak/themes/govuk-cop/
- ./hmpo-lev/:/opt/jboss/keycloak/themes/hmpo-lev/
- ./govuk-social-providers/:/opt/jboss/keycloak/themes/govuk-social-providers/
- ./govuk-drt/:/opt/jboss/keycloak/themes/govuk-drt/
- ./govuk-rscas/:/opt/jboss/keycloak/themes/govuk-rscas/
environment:
DB_VENDOR: "mariadb"
MARIADB_PORT: "3306"
KEYCLOAK_ENVIRONMENT: "/etc/secrets/keycloak.env"
KEYCLOAK_PASSWORD: "admin"
KEYCLOAK_USER: "admin"
MYSQL_PORT_3306_TCP_ADDR: "mariadb"
MYSQL_PORT_3306_TCP_PORT: "3306"
WAIT_ON_ADDR: "mariadb"
WAIT_ON_PORT: "3306"
command:
- -b 0.0.0.0 --server-config=standalone.xml
maildev:
container_name: maildev
image: djfarrelly/maildev:1.1.0
ports:
- "8081:80"
- "25"