foodsoft/.env.sample

66 lines
1.8 KiB
Plaintext
Raw Normal View History

2021-05-23 12:06:58 +00:00
TYPE=foodsoft
2021-04-11 17:15:09 +00:00
2023-09-25 20:24:23 +00:00
DOMAIN=order.example.com
2021-12-01 17:49:11 +00:00
#EXTRA_DOMAINS=', `www.order.example.com`'
2021-04-11 17:15:09 +00:00
LETS_ENCRYPT_ENV=production
2022-04-07 15:18:19 +00:00
COMPOSE_FILE="compose.yml"
2021-04-11 17:15:09 +00:00
2021-05-23 12:06:58 +00:00
# app settings
2021-05-23 13:40:11 +00:00
FOODCOOP_MULTI_INSTALL=true # Best for now, see https://github.com/foodcoops/foodsoft/pull/841
2021-05-23 12:06:58 +00:00
FOODCOOP_NAME=example
FOODCOOP_CITY=XXX
FOODCOOP_COUNTRY=XXX
FOODCOOP_EMAIL=info@example.org
FOODCOOP_PHONE=XXX
FOODCOOP_STREET=XXX
FOODCOOP_ZIP_CODE=XXX
FOODCOOP_HOMEPAGE=https://order.example.org
FOODCOOP_HELP_URL=https://order.example.org
2021-04-11 17:15:09 +00:00
FOODCOOP_TIME_ZONE=Amsterdam
FOODCOOP_USE_NICK=true
FOODCOOP_LANGUAGE=en
FOODCOOP_FOOTER='<a href="https://example.org/">example</a> hosted by <a href="https://yourhoster.org">Your Tech Co-op</a>.'
USE_APPLE_POINTS=false
2021-12-23 18:45:57 +00:00
STOP_ORDERING_UNDER=75
MINIMUM_BALANCE=0
2021-04-11 17:15:09 +00:00
2021-05-23 12:06:58 +00:00
# database settings
2021-04-11 17:15:09 +00:00
MYSQL_DB=foodsoft
MYSQL_HOST=db
MYSQL_PORT=3306
MYSQL_USER=foodsoft
2021-05-23 12:06:58 +00:00
# shared supplier list settings
2022-04-07 15:18:19 +00:00
# COMPOSE_FILE="$COMPOSE_FILE:compose.sharedlists.yml"
2021-05-23 12:06:58 +00:00
# ENABLE_SHARED_LISTS=0
# SHARED_LISTS_DB_TYPE=mysql2
# SHARED_LISTS_HOST=order.otherfoodcoop.org
# SHARED_LISTS_DB_NAME=sharedlists
# SHARED_LISTS_USER=example
2022-04-07 15:18:19 +00:00
# Group order invoices generation pull request
# https://github.com/foodcoops/foodsoft/pull/907
# COMPOSE_FILE="$COMPOSE_FILE:compose.groupOrderInvoice.yml"
2021-05-23 12:06:58 +00:00
# outgoing mail settings
2021-05-23 14:55:01 +00:00
EMAIL_SENDER=noreply@example.org
2021-05-23 12:33:58 +00:00
EMAIL_ERROR=systems@example.org
2021-05-23 14:03:19 +00:00
SMTP_ADDRESS=mail.example.com
2021-04-11 17:15:09 +00:00
SMTP_AUTHENTICATION=plain
2021-05-23 12:06:58 +00:00
SMTP_DOMAIN=mail.example.com
2021-04-11 17:15:09 +00:00
SMTP_ENABLE_STARTTLS_AUTO=true
SMTP_PORT=587
SMTP_USER_NAME=foodsoft
2021-05-23 12:06:58 +00:00
# incoming mail settings
2021-05-23 14:41:19 +00:00
EMAIL_REPLY_DOMAIN=example.org
2021-05-23 14:55:17 +00:00
SMTP_SERVER_HOST=0.0.0.0
2021-04-11 17:15:09 +00:00
SMTP_SERVER_PORT=2525
2021-05-23 12:06:58 +00:00
# secret versions
2021-04-11 17:15:09 +00:00
SECRET_DB_PASSWORD_VERSION=v1
SECRET_DB_ROOT_PASSWORD_VERSION=v1
SECRET_SHARED_LISTS_DB_PASSWORD_VERSION=v1
SECRET_SMTP_PASSWORD_VERSION=v1
SECRET_SECRET_KEY_BASE_VERSION=v1 # length=30