-
Notifications
You must be signed in to change notification settings - Fork 3
/
stack.yml
76 lines (70 loc) · 1.96 KB
/
stack.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
72
73
74
75
76
version: "3.3"
services:
daemon:
image: localhost:5000/organization/grouper-daemon
environment:
ENV: dev
USERTOKEN: swarmtest
secrets:
- source: grouper.hibernate.properties
target: grouper_grouper.hibernate.properties
- source: subject.properties
target: grouper_subject.properties
ui:
configs:
- source: shibboleth2.xml
target: /etc/shibboleth/shibboleth2.xml
- source: host-cert.pem
target: /etc/pki/tls/certs/host-cert.pem
- source: host-cert.pem
target: /etc/pki/tls/certs/cachain.pem
environment:
ENV: dev
USERTOKEN: swarmtest
image: localhost:5000/organization/grouper-ui
ports:
- target: 443
published: 443
mode: host
secrets:
- source: grouper.hibernate.properties
target: grouper_grouper.hibernate.properties
- source: subject.properties
target: grouper_subject.properties
- source: host-key.pem
ws:
configs:
- source: host-cert.pem
target: /etc/pki/tls/certs/host-cert.pem
- source: host-cert.pem
target: /etc/pki/tls/certs/cachain.pem
environment:
ENV: dev
USERTOKEN: swarmtest
image: localhost:5000/organization/grouper-ws
ports:
- target: 443
published: 8443
mode: host
secrets:
- source: grouper.hibernate.properties
target: grouper_grouper.hibernate.properties
- source: subject.properties
target: grouper_subject.properties
- source: host-key.pem
networks:
default:
external:
name: internal
configs:
shibboleth2.xml:
file: ./configs-and-secrets/shibboleth2.xml
host-cert.pem:
file: ./configs-and-secrets/host-cert.pem
secrets:
grouper.hibernate.properties:
file: ./configs-and-secrets/grouper.hibernate.properties
subject.properties:
file: ./configs-and-secrets/subject.properties
host-key.pem:
file: ./configs-and-secrets/host-key.pem