forked from UKHomeOffice/keycloak-theme-govuk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (40 loc) · 1.06 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
mariadb:
container_name: mariadb
image: mariadb:10.1.23
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:v4.2.1-1
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-social-providers/:/opt/jboss/keycloak/themes/govuk-social-providers/
environment:
DB_VENDOR: "mysql"
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.0.0-rc2
ports:
- "8081:80"
- "25"