forked from orbiting/backends
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
59 lines (43 loc) · 1.06 KB
/
.env.example
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
# Commented envs are optional
PORT=5020
#############
# auth
#############
# activate basic auth on this API and
#BASIC_AUTH_USER=
#BASIC_AUTH_PASS=
# optional:
#BASIC_AUTH_REALM=
# phantom only: send basic auth to frontend (for /render and /frontend, leaks to phantomjscloud)
#FRONTEND_BASIC_AUTH_USER=
#FRONTEND_BASIC_AUTH_PASS=
#############
# cluster
#############
# enable
#CLUSTER=true
# how many workers should be started
#WEB_CONCURRENCY=2
# max memory before killing and respawning server
#WEB_MEMORY=512
#############
# render
#############
# url of lambda/chromium deployment
#CHROMIUM_LAMBDA_URL=https://republik-screenshot.now.sh/screenshot
# optional: set a cookie in chromes page
#RENDER_COOKIE=
# optional: send basic auth when rendering urls
#BASIC_AUTH_USER=
#BASIC_AUTH_PASS=
#############
# embeds
#############
# proxy s3 requests to these buckets:regions
# required for the /s3 endpoint to work
#AWS_BUCKET_WHITELIST=bucket1:region1,bucket2:region2
#############
# pdf
#############
# base url for the /pdf proxy
#PDF_BASE_URL=https://pdf.example.com