-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
60 lines (55 loc) · 1.48 KB
/
docker-compose.yml
File metadata and controls
60 lines (55 loc) · 1.48 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: "3.8"
# ForgeRock AM 7.x Development Environment
# NOTE: Requires a valid ForgeRock backstage.forgerock.com account to pull images.
# Register free at: https://backstage.forgerock.com/
#
# Full tutorial: https://iamdevbox.com/posts/deep-dive-into-forgerock-am-scripted-decision-node-debugging-and-development-best-practices/
services:
openam:
image: gcr.io/forgerock-io/am/pit1:7.4.0
container_name: openam
hostname: openam.corp.example.com
ports:
- "8080:8080"
environment:
- CATALINA_OPTS=-Xmx2g -Xms1g
- AM_CONTAINER_JVM_ARGS=-Xmx2g
volumes:
- openam-data:/root/openam
networks:
- forgerock
userstore:
image: gcr.io/forgerock-io/ds/pit1:7.4.0
container_name: userstore
hostname: userstore.corp.example.com
ports:
- "1389:1389"
- "1636:1636"
environment:
- DS_SET_UID_ADMIN_AND_MONITOR_PASSWORDS=true
- DS_BOOTSTRAP_REPLICATION_ADMINUID=admin
- DS_BOOTSTRAP_REPLICATION_ADMINPWD=password
command:
- start-ds
- --profile
- am-config
- --profile
- am-cts
- --profile
- am-identity-store
- --set
- am-config/amConfigAdminPassword:password
- --set
- am-identity-store/amIdentityStoreAdminPassword:password
- --set
- am-cts/tokenExpirationPolicy:no-claims
volumes:
- ds-data:/opt/opendj/data
networks:
- forgerock
volumes:
openam-data:
ds-data:
networks:
forgerock:
driver: bridge