Skip to content

Commit

Permalink
#1276 update .envsubst.template for subscribie deployer
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsimpson committed Jan 19, 2024
1 parent 64616cf commit 0556066
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .envsubst.template
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#Only values in uppercase are actually stored in the config object later on. So make sure to use uppercase letters for your config keys.

# Change FLASK_ENV=live for live
FLASK_ENV=${FLASK_ENV}

# Software as a service (SAAS)
Expand Down Expand Up @@ -39,6 +36,8 @@ SERVER_NAME=${SERVER_NAME}
#SESSION_COOKIE_HTTPONLY=True
#SESSION_COOKIE_SAMESITE=None

PERMANENT_SESSION_LIFETIME=${PERMANENT_SESSION_LIFETIME}

MAIL_DEFAULT_SENDER=${MAIL_DEFAULT_SENDER}

# Supported currencies
Expand All @@ -53,17 +52,9 @@ STRIPE_TEST_SECRET_KEY=${STRIPE_TEST_SECRET_KEY}
# Internal server where shop should send its stripe connect account id to. See https://github.com/Subscribie/subscribie/issues/352
STRIPE_CONNECT_ACCOUNT_ANNOUNCER_HOST=${STRIPE_CONNECT_ACCOUNT_ANNOUNCER_HOST}

# Google oauth (signin / up with Google
GOOGLE_CLIENT_ID=???.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=???
GOOGLE_REDIRECT_URI="http://127.0.0.1:5000/google-oauth2callback/"
GOOGLE_RESPONSE_TYPE=code
GOOGLE_SCOPE="email openid profile"

# For development:

HONEYCOMB_API_KEY=

# Python log levels: DEBUG, INFO, WARNING, ERROR, CRITICAL
# See https://docs.python.org/3/howto/logging.html
PYTHON_LOG_LEVEL=DEBUG
Expand All @@ -80,6 +71,8 @@ SUBSCRIBIE_DOMAIN="subscriby.shop"
PRIVATE_KEY="/tmp/private.pem"
PUBLIC_KEY="/tmp/public.pem"

ANTI_SPAM_SHOP_NAMES_MODEL_FULL_PATH=/changeme


# Optional
TELEGRAM_TOKEN=
Expand Down
1 change: 1 addition & 0 deletions subscribie/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"TELEGRAM_PYTHON_LOG_LEVEL": Str(),
"TEST_SHOP_OWNER_EMAIL_ISSUE_704": Email(),
"TEST_SHOP_OWNER_LOGIN_URL": Url(),
"MAIL_SERVER": Str(),
}
)

Expand Down

0 comments on commit 0556066

Please sign in to comment.