-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
42 lines (40 loc) · 924 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'
networks:
bridge:
driver: bridge
services:
ejbca-database:
container_name: ejbca-database
image: "library/mariadb:latest"
networks:
- bridge
env_file:
- ./env/database.env
volumes:
- ./datadbdir:/var/lib/mysql:rw
ejbca-node:
hostname: ejbca
container_name: ejbca
image: keyfactor/ejbca-ce:latest
depends_on:
- ejbca-database
networks:
- bridge
env_file:
- ./env/ejbca.env
volumes:
- ./ejbca/certs/ejbca.ks:/opt/keyfactor/secrets/external/tls/ks/:ro
- ./ejbca/certs/truststore.jks:/opt/keyfactor/secrets/external/tls/ts/:ro
nginx:
container_name: nginx
image: nginx:latest
depends_on:
- ejbca-node
networks:
- bridge
ports:
- "80:80"
- "443:443"
volumes:
- ./nginx/conf/frontend.conf:/etc/nginx/nginx.conf:ro
- ./nginx/certs:/etc/nginx/ssl:ro