-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-posix-outbox.yml
73 lines (67 loc) · 1.68 KB
/
docker-compose-posix-outbox.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
version: '3.3'
services:
db:
image: ghcr.io/neicnordic/sensitive-data-archive:v0.3.23-postgres
ports:
- 5432:5432
environment:
- DB_LEGA_IN_PASSWORD=password
- DB_LEGA_OUT_PASSWORD=password
- POSTGRES_SERVER_CERT=/etc/ega/pg.cert
- POSTGRES_SERVER_KEY=/etc/ega/pg.key
- POSTGRES_SERVER_CACERT=/etc/ega/CA.cert
- PG_VERIFY_PEER=1
- POSTGRES_PASSWORD=rootpasswd
secrets:
- source: server.pem
target: /etc/ega/pg.cert
uid: '70'
gid: '70'
mode: 0600
- source: server-key.pem
target: /etc/ega/pg.key
uid: '70'
gid: '70'
mode: 0600
- source: rootCA.pem
target: /etc/ega/CA.cert
uid: '70'
gid: '70'
mode: 0600
volumes:
- db:/ega
mockauth:
image: cscfi/beacon-python
ports:
- 8000:8000
volumes:
- ./test/mock_auth.py:/mock_auth.py
entrypoint: ["python", "/mock_auth.py", "0.0.0.0", "8000"]
private-mq:
image: uiobmi/localega-broker-private:latest
ports:
- 5671:5671
- 15671:15671
environment:
- SSL_VERIFY=verify_peer
- SSL_FAIL_IF_NO_PEER_CERT=false
- SSL_DEPTH=2
- USER_NAME=admin
- PASSWORD_HASH=4tHURqDiZzypw0NTvoHhpn8/MMgONWonWxgRZ4NXgR8nZRBz
- VIRTUAL_HOST=sda
secrets:
- source: server.pem
target: /etc/rabbitmq/ssl.cert
- source: server-key.pem
target: /etc/rabbitmq/ssl.key
- source: rootCA.pem
target: /etc/rabbitmq/CA.cert
volumes:
db:
secrets:
rootCA.pem:
file: test/rootCA.pem
server.pem:
file: test/localhost.pem
server-key.pem:
file: test/localhost-key.pem