forked from smallstep/certificates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
42 lines (37 loc) · 856 Bytes
/
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
version: '3.3'
services:
ca:
image: step-ca-test:latest
ports:
- "8443:443"
restart: always
renewer:
depends_on:
- ca
image: step-renewer-test:latest
volumes:
- certificates:/var/local/step
secrets:
- password
environment:
STEPPATH: /home/step
STEP_CA_URL: https://ca
STEP_FINGERPRINT: 84a033e84196f73bd593fad7a63e509e57fd982f02084359c4e8c5c864efc27d
STEP_ROOT: /var/local/step/root_ca.crt
STEP_KID: DmAtZt2EhmZr_iTJJ387fr4Md2NbzMXGdXQNW1UWPXk
STEP_PASSWORD_FILE: /run/secrets/password
COMMON_NAME: nginx
nginx:
depends_on:
- renewer
image: nginx-test:latest
ports:
- "4443:443"
volumes:
- certificates:/var/local/step:ro
restart: always
volumes:
certificates:
secrets:
password:
file: ./password.txt