-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.example.env
More file actions
23 lines (18 loc) · 752 Bytes
/
.example.env
File metadata and controls
23 lines (18 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Payload
# generate: openssl rand -hex 32
PAYLOAD_SECRET=
# Dev-Database / Postgres
POSTGRES_USER=myuser
POSTGRES_PASSWORD=mypassword
POSTGRES_DB=mydb
# has to match the user, password and db name defined above
DATABASE_URL_DEV="postgresql://myuser:mypassword@localhost:5432/mydb"
# Prod-Database / Postgres
DATABASE_URL_PROD=postgresql://postgres:[DB-PASSWORD]@db.tvjclyaykpgfxjfjlvgq.supabase.co:5432/postgres
# Image Server (R2 Cloudflare)
S3_BUCKET=know-before-you-go
S3_ACCESS_KEY_ID=<cloudflare_access_key_id>
S3_SECRET_ACCESS_KEY=<cloudflare_secret_access_key>
S3_REGION=auto
S3_ENDPOINT_DEV=https://[PASSWORD].r2.cloudflarestorage.com/know-before-you-go-dev
S3_ENDPOINT_PROD=https://[PASSWORD].r2.cloudflarestorage.com/know-before-you-go