-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env.local.example
44 lines (31 loc) · 1.76 KB
/
.env.local.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
# Example .env file for local development.
# Docs:
# https://nextjs.org/docs/basic-features/environment-variables#loading-environment-variables
# https://nextjs.org/docs/basic-features/environment-variables#exposing-environment-variables-to-the-browser
# REMINDER:
# Update `/src/env.d.ts` whenever this file is changed.
# See `./docker-compose.yml`
DATABASE_URL=postgresql://postgres:password@localhost:6001/dbmaster
# For `npm run db:getDump && npm run db:restoreDump`
# But first run `ssh trassenscout-production-postgres-tunnel` in a separate terminal
DATABASE_URL_PRODUCTION=postgresql://USER:[email protected]:PORT/dbmaster
# For `npm run db:getDump:staging && npm run db:restoreDump`
# But first run `ssh trassenscout-staging-postgres-tunnel` in a separate terminal
DATABASE_URL_STAGING=postgresql://USER:[email protected]:PORT/dbmaster
S3_UPLOAD_ROOTFOLDER=upload-localdev
# Get from https://lightsail.aws.amazon.com/ls/webapp/eu-central-1/container-services/trassenscout-tinkering/deployments => ">" Arrow Details on "App" => Copy block of Key-Values
S3_UPLOAD_KEY=AAAAAAAAAAAAAAAAAAAA
S3_UPLOAD_SECRET=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
# Get from https://felt.com/ => Settings
FELT_TOKEN=felt_pat_AAAAAAAAAAAAAAAAAAAAAA
# Admin mail address, mails are sent to
# Key for restricted api routes
TS_API_KEY=ok
MAILJET_APIKEY_PUBLIC='' # Only on the server
MAILJET_APIKEY_PRIVATE='' # Only on the server
SESSION_SECRET_KEY=secret
NEXT_PUBLIC_APP_ENV=development # 'staging', 'production'
# NEXT_PUBLIC_APP_ORIGIN=http://127.0.0.1:5000 # 5000 for `npm run start` 'https://staging,trassenscout.de', 'https://trassenscout.de'
# for development: test the survey starting with another state
NEXT_PUBLIC_PUBLIC_SURVEY_START_STAGE=START