forked from Identicum/ipax
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (38 loc) · 1.3 KB
/
docker-compose.yml
File metadata and controls
40 lines (38 loc) · 1.3 KB
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
version: '3'
services:
idp:
container_name: idp
image: jboss/keycloak:15.0.2
restart: always
environment:
KEYCLOAK_USER: admin
KEYCLOAK_PASSWORD: admin
volumes:
- ./keycloak/startup-scripts/:/opt/jboss/startup-scripts/
- ./keycloak/custom-scripts/:/opt/jboss/custom-scripts/
- ./keycloak/objects/:/opt/jboss/keycloak/objects/
ports:
- 8080:8080
ipax:
container_name: ipax
image: identicum/ipax:latest
restart: always
volumes:
- ./conf/info.conf:/usr/local/openresty/nginx/conf/info.conf
- ./conf/lua.conf:/usr/local/openresty/nginx/conf/lua.conf
- ./conf/nginx.conf.template:/usr/local/openresty/nginx/conf/nginx.conf.template
- ./conf/server.conf:/usr/local/openresty/nginx/conf/server.conf
- ./html/:/var/ipax/html/
- ./lua/:/etc/ipax/lua/
environment:
NGINX_RESOLVER: 127.0.0.11 valid=5s
NGINX_LOG_LEVEL: debug
OIDC_DISCOVERY: http://idp:8080/auth/realms/demorealm/.well-known/openid-configuration
OIDC_CLIENT_ID: ipax_client_id
OIDC_USE_PKCE: "false"
OIDC_CLIENT_SECRET: ipax_client_secret
OIDC_SCOPE: openid profile email roles phone
OIDC_POST_LOGOUT_REDIRECT_URI: http://localhost/logoutSuccess.html
OIDC_AUTHORIZATION_PARAMS:
ports:
- 80:80