-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
65 lines (58 loc) · 1.95 KB
/
docker-compose.yml
File metadata and controls
65 lines (58 loc) · 1.95 KB
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
61
62
63
64
65
services:
db:
image: postgres:17
environment:
POSTGRES_USER: nutrient
POSTGRES_PASSWORD: password
POSTGRES_DB: nutrient
POSTGRES_INITDB_ARGS: --data-checksums
PGDATA: /var/lib/postgresql/data/pgdata
volumes:
- pgdata:/var/lib/postgresql/data
document_engine:
image: pspdfkit/document-engine:latest
environment:
PGUSER: nutrient
PGPASSWORD: password
PGDATABASE: nutrient
PGHOST: db
PGPORT: 5432
# Activation key for your Nutrient Document Engine installation. Leave commented to boot Document Engine in trial mode.
# ACTIVATION_KEY: <your-activation-key>
# Secret token used for authenticating API requests.
API_AUTH_TOKEN: secret
# Base key used for deriving secret keys for the purposes of authentication.
SECRET_KEY_BASE: secret-key-base
# Public key used for verification of JWTs from web clients. It has to be in the PEM format.
JWT_PUBLIC_KEY: |
-----BEGIN PUBLIC KEY-----
MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBALd41vG5rMzG26hhVxE65kzWC+bYQ94t
OxsSxIQZMOc1GY8ubuqu2iku5/5isaFfG44e+VAe+YIdVeQY7cUkaaUCAwEAAQ==
-----END PUBLIC KEY-----
JWT_ALGORITHM: RS256
# Credentials to access the admin dashboard
DASHBOARD_USERNAME: dashboard
DASHBOARD_PASSWORD: secret
SIGNING_SERVICE_URL: http://signing_service:6000/sign
volumes:
- "../../custom-fonts:/custom-fonts"
- "./certs:/certificate-stores"
depends_on:
- db
- signing_service
ports:
- 5000:5000
signing_service:
build: .
environment:
SIGNING_SERVICE_PORT: 6000
T2GO_USER: ${T2GO_USER:-}
T2GO_PASSWORD: ${T2GO_PASSWORD:-}
GLOBALSIGN_API_KEY: ${GLOBALSIGN_API_KEY:-}
GLOBALSIGN_API_SECRET: ${GLOBALSIGN_API_SECRET:-}
GLOBALSIGN_TLS_CERT: ${GLOBALSIGN_TLS_CERT:-}
GLOBALSIGN_TLS_KEY: ${GLOBALSIGN_TLS_KEY:-}
ports:
- 6000:6000
volumes:
pgdata: