-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
80 lines (62 loc) · 2.59 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
COMPOSE_PROJECT_NAME=snakegame
POSTGRES_USER=snakegame
POSTGRES_PASSWORD=
PYTHONUNBUFFERED=true
# In development, having bytecode laying around can cause all sorts of weird
# issues with Docker. These are *.pyc file and the __pycache__/ folder.
PYTHONDONTWRITEBYTECODE=true
# Which environment is running? This should be "development" or "production".
FLASK_ENV=development
# Configure how we load our application.
FLASK_APP=snakename.app:create_app()
# Which log level should be used for Python's logger?
#LOG_LEVEL=DEBUG
# You should generate a random string of 64+ characters for this value in prod.
SECRET_KEY=
# What mail server should you connect to?
#MAIL_SERVER=smtp.gmail.com
#MAIL_PORT=587
#MAIL_USE_TLS=true
#MAIL_USE_SSL=false
MAIL_USERNAME=
MAIL_PASSWORD=
# What email address and password should be used for the seed user?
SEED_ADMIN_EMAIL=
SEED_ADMIN_PASSWORD=
# Stripe keys.
STRIPE_PUBLISHABLE_KEY=
STRIPE_SECRET_KEY=
# Google Analytics.
#ANALYTICS_GOOGLE_UA=
# With Docker for Windows / Mac / Linux then this default value should work.
# If you have Docker running in a VM, put the VM's IP address here instead.
#SERVER_NAME=localhost:8000
# Do you want code reloading to work with your app server? Don't do this in
# production (it's turned off by default, so don't worry about it).
WEB_RELOAD=true
# Which address and port should gunicorn bind to?
#WEB_BIND=0.0.0.0:8000
# How many workers and threads should your app use?
WEB_CONCURRENCY=1
#PYTHON_MAX_THREADS=1
# Should Docker restart your containers if they go down?
DOCKER_RESTART_POLICY=no
# What healthcheck test command do you want to run? In development, having it
# curl your web server will result in a lot of log spam, so setting it to
# /bin/true is an easy way to make the healthcheck do basically nothing.
DOCKER_HEALTHCHECK_TEST=/bin/true
# How long should Docker wait before it SIGKILLs your process?
#DOCKER_STOP_GRACE_PERIOD=3s
# What port should be published back to the Docker host for your app server?
DOCKER_WEB_PORT=8000
# What volume path should be used?
DOCKER_WEB_VOLUME=.:/app
# What port should be published back to the Docker host? Be careful with using
# 0.0.0.0 or no host on the left because then anyone will be able to attempt to
# log in to your PostgreSQL server since the port would be publicly accessible.
#
# If you're using Docker for Windows / Mac, it's safe to keep it as is and you
# will be able to connect to PostgreSQL with external tools like pgadmin.
# Change this to your VM's IP address if you're using the Docker Toolbox.
#DOCKER_POSTGRES_PORT=127.0.0.1:5432:5432