-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
71 lines (66 loc) · 1.82 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
version: '3.4'
networks:
mynetwork:
name: mynetwork
attachable: true
services:
nginx_oidc_netiq:
container_name: nginx-oidc-netiq
build:
context: ./
dockerfile: ./docker/docker-files/nginxplus-ubuntu18.04/Dockerfile
image: nginx_oidc_netiq
ports:
- 19000:19000
- 20000:20000
- 9443:9443
volumes:
- type: bind
source: ./
target: /etc/nginx/conf.d/
- type: bind
source: ./docker/build-context/nginx/test/
target: /etc/nginx/test/
- type: bind
source: ./docker/build-context/content
target: /usr/share/nginx/html/
networks:
- mynetwork
keycloak24:
container_name: keycloak24
image: quay.io/keycloak/keycloak:24.0.2
ports:
- 8080:8080
- 8443:8443
volumes:
- ./docker/build-context/ssl/kc_temp.crt:/etc/x509/https/tls.crt
- ./docker/build-context/ssl/kc_temp.key:/etc/x509/https/tls.key
environment:
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin
KC_HOSTNAME: host.docker.internal
KC_HTTPS_CERTIFICATE_FILE: /etc/x509/https/tls.crt
KC_HTTPS_CERTIFICATE_KEY_FILE: /etc/x509/https/tls.key
command:
start-dev
networks:
- mynetwork
keycloak21:
container_name: keycloak21
image: quay.io/keycloak/keycloak:21.0.0
ports:
- 9080:8080
- 7443:8443
volumes:
- ./docker/build-context/ssl/kc_temp.crt:/etc/x509/https/tls.crt
- ./docker/build-context/ssl/kc_temp.key:/etc/x509/https/tls.key
environment:
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin
KC_HOSTNAME: host.docker.internal
KC_HTTPS_CERTIFICATE_FILE: /etc/x509/https/tls.crt
KC_HTTPS_CERTIFICATE_KEY_FILE: /etc/x509/https/tls.key
command:
start-dev
networks:
- mynetwork