forked from carrier-io/centry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose_custom_CA_cert.yaml
58 lines (57 loc) · 2.15 KB
/
docker-compose_custom_CA_cert.yaml
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
# Intended to be used together with the base docker-compose.yaml file for cases when a custom CA cert is needed for the system.
# CUSTOM_CA_CERT env var must be set.
# See an example usage at Makefile -> up_with_custom_CA_cert.
version: '3'
services:
pylon:
environment:
SSL_CERT_FILE: /etc/ssl/certs/custom-ca-cert.pem
REQUESTS_CA_BUNDLE: /etc/ssl/certs/custom-ca-cert.pem
CURL_CA_BUNDLE: /etc/ssl/certs/custom-ca-cert.pem
volumes:
- $CUSTOM_CA_CERT:/etc/ssl/certs/custom-ca-cert.pem:ro
pylon_auth:
environment:
SSL_CERT_FILE: /etc/ssl/certs/custom-ca-cert.pem
REQUESTS_CA_BUNDLE: /etc/ssl/certs/custom-ca-cert.pem
CURL_CA_BUNDLE: /etc/ssl/certs/custom-ca-cert.pem
volumes:
- $CUSTOM_CA_CERT:/etc/ssl/certs/custom-ca-cert.pem:ro
pylon_worker:
environment:
SSL_CERT_FILE: /etc/ssl/certs/custom-ca-cert.pem
REQUESTS_CA_BUNDLE: /etc/ssl/certs/custom-ca-cert.pem
CURL_CA_BUNDLE: /etc/ssl/certs/custom-ca-cert.pem
volumes:
- $CUSTOM_CA_CERT:/etc/ssl/certs/custom-ca-cert.pem:ro
grafana:
volumes:
- $CUSTOM_CA_CERT:/etc/ssl/certs/custom-ca-cert.pem:ro
traefik:
volumes:
- $CUSTOM_CA_CERT:/etc/ssl/certs/custom-ca-cert.pem:ro
influx:
volumes:
- $CUSTOM_CA_CERT:/etc/ssl/certs/custom-ca-cert.pem:ro
minio:
environment:
MINIO_SERVER_CA_CERTS_FILE: /etc/ssl/certs/custom-ca-cert.pem
volumes:
- $CUSTOM_CA_CERT:/etc/ssl/certs/custom-ca-cert.pem:ro
mongo:
volumes:
- $CUSTOM_CA_CERT:/etc/ssl/certs/custom-ca-cert.pem:ro
interceptor:
environment:
SSL_CERT_FILE: /etc/ssl/certs/custom-ca-cert.pem
REQUESTS_CA_BUNDLE: /etc/ssl/certs/custom-ca-cert.pem
CURL_CA_BUNDLE: /etc/ssl/certs/custom-ca-cert.pem
volumes:
- $CUSTOM_CA_CERT:/etc/ssl/certs/custom-ca-cert.pem:ro
interceptor_internal:
environment:
SSL_CERT_FILE: /etc/ssl/certs/custom-ca-cert.pem
REQUESTS_CA_BUNDLE: /etc/ssl/certs/custom-ca-cert.pem
CURL_CA_BUNDLE: /etc/ssl/certs/custom-ca-cert.pem
volumes:
- $CUSTOM_CA_CERT:/etc/ssl/certs/custom-ca-cert.pem:ro