-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.env.sample
36 lines (28 loc) · 895 Bytes
/
.env.sample
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
# Database
DATABASE_URL = "postgres://local:password@localhost:5432/local"
# Backend environment variables
# Port is the backend's running port
PORT = 8000
# Hostname
HOSTNAME = localhost # default is localhost
# Enable HTTPS
HTTPS = true
SSL_CERT = ./cert/localhost.cert
SSL_KEY = ./cert/localhost.key
# Origin is the frontend's address, to use with CORS
ORIGIN = "http://localhost:5000"
# Token secrets
ACCESS_TOKEN_SECRET = "access-token-secret"
REFRESH_TOKEN_SECRET = "refresh-token-secret"
# Secret key used to encrypt file ids for temporary access
SHARE_KEY_SECRET = "local-share-key"
# AWS S3 tokens
AWS_ACCESS_KEY_ID = "local-access-key"
AWS_SECRET_ACCESS_KEY = "local-secret-key"
AWS_BUCKET_NAME = "sfs-storage"
AWS_REGION = "us-east-1"
# If you set MINIO to true, make sure to also provide ENDPOINT
# Minio enable
MINIO = true
# Minio endpoint
ENDPOINT = "http://0.0.0.0:9000"