-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy path.env.example
More file actions
27 lines (23 loc) · 2.15 KB
/
Copy path.env.example
File metadata and controls
27 lines (23 loc) · 2.15 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
# ---- API key (client auth for tool APIs) ----
# Leave unset to generate a random key during first initialization. The key is
# persisted to STORAGE_DIR/.api-key-plaintext for ComPDF Web auto-injection. If
# an active key exists but this plaintext is missing or no longer matches, init-db
# rotates that same key row and persists a new random key instead of adding a
# second one. Set this to provision a specific key on every boot; if another
# active key exists, init-db updates that single key row. The value is the secret
# clients send as x-api-key.
# It protects /api/v1/process/* and /api/v1/task/*.
API_KEY=
# ---- CORS ----
# Comma-separated allowed origins. '*' (default) = permissive (reflect any
# origin). Set to specific origins to lock down, e.g.
# CORS_ORIGINS=https://compdf.example.com,https://admin.example.com
CORS_ORIGINS=*
# ---- Tools config flag ----
# / and /pdf-tools/* redirect to /admin. This is the only tools switch.
# ---- Upstream SDK services ----
# The published compdf-app image exposes conversion APIs on :7000 and PDF SDK
# /v1/sync/* APIs on :7001.
PDF_SDK_BASE_URL=http://compdf-app:7001
CONVERSION_BASE_URL=http://compdf-app:7000
COMPDF_LICENSE_KEY=gQid8PSADuqsjgimks94OKdh97jeSczzmrCNTKnkbeYkVeCmiWHkNdGjJCfNUMqczTAKGSKMqK/bhcQb0A0kqZrgRFmM0ovPSPpC8Lr+h8qOT00sK6UENtlZ6IPHbbVG37ezNgkMtuQhnfthx8ijD5K4yp4A04FPFT5mGAC/Z90SMLFWspwGOjbhxCr2vYnj0lNd9624jpHfJS68pU24HMKBpDsNU5VGqjef1UH3EE86+iDa1bxV6eeiPWUUFLC9TR7fV5XgDo/TGGRiN5OK+C+gSiNoSilHPNaFJkhlYEoTUMroY+8uayRQWEUTC3MHhNSBqzTpyvXfwmQaIpc+efQU1RxzE+64PWmYdGnEDP+vcsrxcDtbJaSGo1DfmdYEJJFQ8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