-
Notifications
You must be signed in to change notification settings - Fork 0
/
ici-compose.yaml
36 lines (33 loc) · 969 Bytes
/
ici-compose.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
---
version: '3'
services:
ca:
image: 'ici_ca:latest'
volumes:
- /var/lib/ici:/var/lib/ici
environment:
- ICI_CA_NAME=example
- ICI_ISSUE_DAYS=5
command: /inotify_issue_and_publish.sh
acme:
image: 'ici_acme:latest'
volumes:
- ./config.yaml.docker:/etc/ici_acme/config.yaml:ro
- /var/lib/ici_acme:/var/lib/ici_acme
environment:
- ICI_ACME_CONFIG=/etc/ici_acme/config.yaml
depends_on:
- ca
ports:
- 8000:8000
interface:
image: 'ici_acme:latest'
volumes:
- /var/lib/ici_acme:/var/lib/ici_acme
- /var/lib/ici/example/ca.crt:/var/lib/ici/example/ca.crt
- /var/lib/ici/example/requests:/var/lib/ici/example/requests
- /var/lib/ici/example/out-certs:/var/lib/ici/example/out-certs
depends_on:
- ca
- acme
command: /ici_acme/env/bin/python /ici_acme/src/tools/ici-interface.py --store_dir /var/lib/ici_acme/data/certificate --debug