-
Notifications
You must be signed in to change notification settings - Fork 291
/
.env.example
51 lines (38 loc) · 1.53 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
# WARNING: Commenting after a variable's value DOES NOT WORK in .env files.
# In other words, don't to this: `FOO=value # this is a comment`.
# This would give the value "value # this is a comment" to the FOO variable.
# You need to use single-line comments instead, e.g:
# ```
# # this is a comment:
# FOO=value
# ```
#
#
#
# Frontend app URL and bare domain name:
FRONTEND_URL=https://frontend.example.com
FRONTEND_DOMAIN_NAME=frontend.example.com
# Backend app URL and bare domain name:
BACKEND_URL=https://backend.example.com
BACKEND_DOMAIN_NAME=backend.example.com
# Obtain the following 2 values on the Pi Developer Portal (open develop.pi in the Pi Browser).
# Domain validation key:
DOMAIN_VALIDATION_KEY=todo_developer_portal
# Pi Platform API Key:
PI_API_KEY=todo_developer_portal
# Generate a random string, or roll your face on the keyboard to fill this value:
SESSION_SECRET=abcd1324_TODO
# MongoDB database connection details:
MONGODB_DATABASE_NAME=demoapp
MONGODB_USERNAME=demoapp
MONGODB_PASSWORD=abcd1234
# This will be prepended to all container names.
# Changing this will make docker-compose lose track of all your containers.
# Run `docker-compose down` before changing it.
COMPOSE_PROJECT_NAME=pi-demo-app
# Set this to either "development" or "production" (XXX "staging"?):
ENVIRONMENT=production
# This directory will be used to store all persistent data needed by Docker (using volumes):
DATA_DIRECTORY=./docker-data
# URL of the Pi Platform API - you should not need to change this.
PLATFORM_API_URL=https://api.minepi.com