-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
20 lines (20 loc) · 1.22 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
services:
ca-server:
image: netreconlab/ca-server:latest
environment:
- CA_SERVER_PRIVATE_KEY_FILE=./server/ca/private/cakey.pem # (Required) Location and name of private key
- CA_SERVER_ROOT_CA_CERT=./server/ca/private/cacert.der # (Required) Location and name of CA certificate
- CA_SERVER_DATABASE_NAME=server/dbs/appdb.sqlite # (Required) Location and name of the database
- CA_SERVER_CA_DIRECTORY=./server/ca # Location to store CA related files
- CA_SERVER_ROUTE_USER_PREFIX=/appusers # The prefix to add to all user related routes
- CA_SERVER_ROUTE_ROOT_CERTIFICATE_PREFIX=/ca_certificate # The prefix to add root certificate related routes
- CA_SERVER_ROUTE_CERTIFICATE_PREFIX=/certificates # The prefix to add to all certificate related routes
- CA_SERVER_ROUNDS=5 # Number of rounds
# Uncomment the command below if you are running behind a proxy. Change "/ca" to your respective endpoint.
# command: [ "./start-poetry.sh", "poetry", "run", "uvicorn", "server.main:app", "--host", "0.0.0.0", "--port", "3000", "--root-path", "/ca" ]
restart: always
volumes:
- ./server/ca:/app/server/ca
- ./server/dbs:/app/server/dbs
ports:
- '3000:3000'