-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose-signals.yml
More file actions
127 lines (123 loc) · 4.27 KB
/
docker-compose-signals.yml
File metadata and controls
127 lines (123 loc) · 4.27 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
version: '3.8'
volumes:
prometheus_data: { }
services:
mongo1:
container_name: mongo1
image: mongo:6.0.11
environment:
- MONGO_INITDB_ROOT_USERNAME=root
- MONGO_INITDB_ROOT_PASSWORD=dockTest
- MONGO_REPLICA_SET_NAME=dbrs
ports:
- "30001:30001"
command: [ "--replSet","dbrs","--keyFile","/data/replica.key","--bind_ip_all","--port","30001" ]
volumes:
- ".mongo/replica.key:/data/replica.key"
- ".mongo/mongo1:/data/db"
mongo2:
container_name: mongo2
image: mongo:6.0.11
environment:
- MONGO_INITDB_ROOT_USERNAME=root
- MONGO_INITDB_ROOT_PASSWORD=dockTest
- MONGO_REPLICA_SET_NAME=dbrs
ports:
- "30002:30002"
command: [ "--replSet","dbrs","--keyFile","/data/replica.key","--bind_ip_all","--port","30002" ]
volumes:
- ".mongo/replica.key:/data/replica.key"
- ".mongo/mongo2:/data/db"
mongo3:
container_name: mongo3
image: mongo:6.0.11
environment:
- MONGO_INITDB_ROOT_USERNAME=root
- MONGO_INITDB_ROOT_PASSWORD=dockTest
- MONGO_REPLICA_SET_NAME=dbrs
ports:
- "30003:30003"
command: [ "--replSet","dbrs","--keyFile","/data/replica.key","--bind_ip_all","--port","30003" ]
volumes:
- ".mongo/replica.key:/data/replica.key"
- ".mongo/mongo3:/data/db"
mongoSetup:
image: mongo:6.0.11
depends_on:
- mongo1
- mongo2
- mongo3
volumes:
- ".mongo/:/scripts"
restart: "no"
entrypoint: [ "bash", "/scripts/mongo_init.sh" ]
goSignals1:
image: i2gosignals:latest
command: /goSignalsServer
container_name: gosignals1
hostname: goSignals1
depends_on:
mongo1:
condition: service_started
mongoSetup:
condition: service_completed_successfully
ports:
- "8888:8888"
environment:
- MONGO_URL=mongodb://root:dockTest@mongo1:30001,mongo2:30002,mongo3:30003/?retryWrites=true&replicaSet=dbrs&readPreference=primary&serverSelectionTimeoutMS=5000&connectTimeoutMS=10000&authSource=admin&authMechanism=SCRAM-SHA-256
- DBNAME=goSignals1
- PORT=8888
- BASE_URL=http://goSignals1:8888/
scim_cluster1:
image: independentid/i2scim-universal:0.7.2-SNAPSHOT
container_name: scim_cluster1
ports:
- "9000:8080"
depends_on:
goSignals1:
condition: service_started
volumes:
- ./config/scim/data1:/scim
environment:
- scim.prov.memory.dir=/scim/data
- scim.prov.memory.file=scimdb.json
- scim.prov.memory.maxbackups=10
- scim.prov.memory.backup.mins=2
- scim.event.enable=true
- scim.security.enable=false
- scim.prov.providerClass=com.independentid.scim.backend.memory.MemoryProvider
- scim.signals.enable=true
- scim.signals.ssf.serverUrl=http://localhost:8888
- scim.signals.ssf.authorization=<add iat here>
- scim.signals.pub.iss=cluster.scim.example.com
- scim.signals.pub.aud=cluster.example.com,monitor.example.com,partner.example.com
- scim.signals.rcv.iss=cluster.scim.example.com
- scim.signals.rcv.aud=cluster.example.com
- scim.signals.rcv.iss.jwksUrl=http://localhost:8888/jwks/cluster.scim.example.com
- scim.signals.pub.pem.path=/scim/issuer.pem
scim_cluster2:
image: independentid/i2scim-universal:0.7.2-SNAPSHOT
container_name: scim_cluster2
ports:
- "9001:8080"
depends_on:
goSignals1:
condition: service_started
volumes:
- ./config/scim/data2:/scim
environment:
- scim.prov.memory.dir=/scim/data
- scim.prov.memory.file=scimdb.json
- scim.prov.memory.maxbackups=10
- scim.prov.memory.backup.mins=2
- scim.event.enable=true
- scim.security.enable=false
- scim.prov.providerClass=com.independentid.scim.backend.memory.MemoryProvider
- scim.signals.ssf.serverUrl=http://localhost:8888
- scim.signals.ssf.authorization=<add iat here>
- scim.signals.pub.iss=cluster.scim.example.com
- scim.signals.pub.aud=cluster.example.com,monitor.example.com,partner.example.com
- scim.signals.rcv.iss=cluster.scim.example.com
- scim.signals.rcv.aud=cluster.example.com
- scim.signals.rcv.iss.jwksUrl=http://localhost:8888/jwks/cluster.scim.example.com
- scim.signals.pub.pem.path=/scim/issuer.pem