1
0
forked from finn/site

add tor env switch

This commit is contained in:
2024-08-08 02:57:33 -07:00
parent b9a432b356
commit 4e948af492
6 changed files with 60 additions and 26 deletions

13
dotenv
View File

@ -5,23 +5,26 @@ DOTENV_MYSQL_ROOT_PASSWORD=rootp
DOTENV_MYSQL_GITEA_PASSWORD=giteap
DOTENV_MYSQL_FLASK_PASSWORD=flaskp
GITEA_MAIL_FROM="git@changeme"
GITEA_MAIL_FROM="git@e.e"
# Build ARG GPG_PP. May still need to be empty to avoid breakage.
BUILD_GPG_PP=
# Tor:
# true/false
USE_TOR=false
# Backend:
FLASK_SECRET_KEY="changeme"
FLASK_SECRET_KEY="flaskkey"
# Inconsequential token: minimal inconvenience if exposed
FLASK_TOKEN_I=dti
# Consequential token: protect
FLASK_TOKEN_C=dtc
FLASK_MAIL_FROM="git@changeme"
FLASK_MAIL_FROM="git@e.e"
# admin email must be valid send from with mail subsystem
FLASK_ADMIN_EMAIL="git@changeme"
FLASK_JWT_PHRASE="jwtphrase"
FLASK_ADMIN_EMAIL="git@e.e"
FLASK_JWT_PHRASE="tphrase"
FLASK_REAL_HOSTNAME="localhost"