forked from FederatedAI/FedLCM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
60 lines (56 loc) · 1.53 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: '3.5'
services:
server:
image: "${SERVER_IMG}"
user: root
volumes:
- ./output/stepca:/home/step
depends_on:
- postgres
- stepca
links:
- stepca
restart: always
environment:
POSTGRES_HOST: postgres
POSTGRES_PORT: 5432
POSTGRES_USER: lifecycle_manager
POSTGRES_PASSWORD: lifecycle_manager
POSTGRES_DB: lifecycle_manager
LIFECYCLEMANAGER_INITIAL_ADMIN_PASSWORD: admin
LIFECYCLEMANAGER_SECRETKEY: passphrase123456
LIFECYCLEMANAGER_DEBUG: 'false'
LIFECYCLEMANAGER_BUILTINCA_HOST: stepca
LIFECYCLEMANAGER_BUILTINCA_PROVISIONER_NAME: stepca
LIFECYCLEMANAGER_BUILTINCA_PROVISIONER_PASSWORD: stepca
LIFECYCLEMANAGER_BUILTINCA_DATADIR: ./home/step
postgres:
image: postgres:13.3
volumes:
- ./output/data/postgres:/var/lib/postgresql
ports:
- "5432:5432"
restart: always
environment:
POSTGRES_PASSWORD: lifecycle_manager
POSTGRES_USER: lifecycle_manager
POSTGRES_DB: lifecycle_manager
frontend:
image: "${FRONTEND_IMG}"
restart: always
depends_on:
- server
ports:
- "9080:8080"
stepca:
image: smallstep/step-ca:0.18.2
user: root
volumes:
- ./output/stepca:/home/step
- ./make/stepca/entrypoint.sh:/entrypoint.sh
restart: always
environment:
DOCKER_STEPCA_INIT_NAME: stepca
DOCKER_STEPCA_INIT_DNS_NAMES: stepca
DOCKER_STEPCA_INIT_PASSWORD: stepca
DOCKER_STEPCA_INIT_PROVISIONER_NAME: stepca