-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.sample
More file actions
39 lines (30 loc) · 1.09 KB
/
.env.sample
File metadata and controls
39 lines (30 loc) · 1.09 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
ADDR=:3300
# addresses, separated by spaces
CORS_ALLOWED_FROM=http://localhost:3000
# encrypts/decrypts our login tokens
PASETO_KEY=
# setup cli command:
# docker run --name dev-postgres-drawref -e POSTGRES_USER=drawref -e POSTGRES_PASSWORD=passed -p 5545:5432 postgres
DATABASE_URL=postgres://drawref:passed@localhost:5545/drawref?sslmode=disable
DATABASE_MIGRATIONS_PATH=migrations
# on upload, files are written with these AWS details
AWS_ENDPOINT_URL=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_REGION=
# uploaded files are written to this bucket with the key prefix.
# include a trailing slash on the prefix
UPLOAD_S3_BUCKET=
UPLOAD_KEY_PREFIX=/
# when URLs are served, this url and the key are joined.
# if using a key prefix like 'pub/', include that in this value too.
# include a trailing slash
UPLOAD_URL_PREFIX=
# github login details
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
# space-separated list of github UIDs (not usernames) that are admins on this app
GITHUB_ADMIN_UIDS=
# if local image uploads are allowed, a root path must be specified.
# ALLOW_LOCAL_IMAGES=true
LOCAL_IMAGES_ROOT_PATH=