Add docker support

This commit is contained in:
Jesús
2022-01-13 18:08:28 -05:00
parent b77c06257f
commit 4317b0ba5d
66 changed files with 324 additions and 1061 deletions

35
config.env.example Normal file
View File

@@ -0,0 +1,35 @@
#
# yt-local options
#
WEB_SITE_URL='http://example.org'
APP_DEBUG=True
SECRET_KEY=
#
# DataBase
#
NAME_DB=personalsite
USER_DB=postgres
PASS_DB=postgres
HOST_DB=172.23.0.6
PORT_DB=5432
#
# E-mail options
#
EMAIL_HOST=smtp.example.com
EMAIL_HOST_USER=username
EMAIL_HOST_PASSWORD=password
EMAIL_HOST_PORT=587
EMAIL_USE_TLS=True
#
# Gunicorn options
#
GUNICORN_PORT_NUMBER=8080
GUNICORN_NUM_WORKERS=4
GUNICORN_TIMEOUT=120