-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
92 lines (91 loc) · 2.27 KB
/
docker-compose.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
version: "3.1"
services:
ingress:
image: nginx:1
restart: always
ports:
- "80:80"
- "443:443"
volumes:
- ./ingress/etc/:/etc/nginx/
depends_on:
- horizon
- stream
horizon:
image: registry.evertrust.io/horizon:2.7.1
volumes:
- ./horizon/license:/var/horizon/license/
environment:
MONGODB_URI: mongodb://mongo:27017/horizon
APPLICATION_SECRET: evertrustisthebestcompanysince2017
EVENT_SEAL_SECRET: evertrust
VAULT_TYPE: ssv
VAULT_MASTER_PASSWORD: evertrust
ACME_URL_SCHEME: http
HOSTS_ALLOWED.0: .
LICENSE_PATH: /var/horizon/license/horizon.lic
HTTP_CERTIFICATE_HEADER: X-Forwarded-Tls-Client-Cert
depends_on:
- mongo
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:8558/ready" ]
interval: 10s
timeout: 60s
retries: 7
stream:
image: registry.evertrust.io/stream:2.0.8
platform: linux/amd64
volumes:
- ./stream/license:/var/stream/license/
- ./stream/etc:/var/stream/etc/
environment:
MONGODB_URI: mongodb://mongo:27017/stream
APPLICATION_SECRET: evertrustisthebestcompanysince2017
EVENT_SEAL_SECRET: itsnotevertrust
VAULT_TYPE: ssv
VAULT_MASTER_PASSWORD: evertrust
ACME_URL_SCHEME: http
HOSTS_ALLOWED.0: .
LICENSE_PATH: /var/stream/license/stream.lic
KEYSET_PATH: /var/stream/etc/keyset.json
depends_on:
- mongo
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:8558/ready" ]
interval: 10s
timeout: 60s
retries: 7
mongo:
image: mongo:7
restart: always
command: --quiet
#ports:
# - "27017:27017"
volumes:
- ./database/init:/docker-entrypoint-initdb.d:ro
- ./database/dump:/var/mongodb/dump:ro
demo-client:
profiles:
- client
build:
context: ./demo-client
args:
REPOSITORY_USER: ${REPOSITORY_USER}
REPOSITORY_PASSWORD: ${REPOSITORY_PASSWORD}
env_file:
- .env
depends_on:
- horizon
privileged: true
links:
- ingress:horizon.lab
ports:
- "8443:443"
demo-ansible:
profiles:
- ansible
build:
context: ./demo-ansible
privileged: true
depends_on:
- horizon