-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (44 loc) · 1.22 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
---
services:
redis:
image: redis:latest
ports:
- 6379:6379
healthcheck:
test: [CMD, redis-cli, ping]
interval: 10s
timeout: 5s
retries: 5
kms:
container_name: kms
image: ghcr.io/cosmian/kms:4.20.1
ports:
- 9998:9998
findex-server:
depends_on:
- redis
container_name: findex-server
image: ghcr.io/cosmian/findex-server:0.1.0
ports:
- 6668:6668
environment:
RUST_LOG: cosmian_findex_server=trace
FINDEX_SERVER_DATABASE_TYPE: redis
FINDEX_SERVER_DATABASE_URL: redis://redis:6379
findex-server-cert-auth:
depends_on:
- redis
container_name: findex-server-cert-auth
image: ghcr.io/cosmian/findex-server:0.1.0
ports:
- 6660:6660
volumes:
- ./test_data:/test_data
environment:
RUST_LOG: cosmian_findex_server=trace
FINDEX_SERVER_DATABASE_TYPE: redis
FINDEX_SERVER_DATABASE_URL: redis://redis:6379
FINDEX_SERVER_PORT: 6660
FINDEX_SERVER_HTTPS_P12_FILE: /test_data/certificates/client_server/server/kmserver.acme.com.p12
FINDEX_SERVER_HTTPS_P12_PASSWORD: password
FINDEX_SERVER_AUTHORITY_CERT_FILE: /test_data/certificates/client_server/server/ca.crt