feat: config apple points
See https://github.com/foodcoops/foodsoft/issues/867.
This commit is contained in:
parent
25d5ae520b
commit
7ab041cc7e
|
@ -17,6 +17,7 @@ FOODCOOP_HOMEPAGE=https://order.example.org
|
||||||
FOODCOOP_HELP_URL=https://order.example.org
|
FOODCOOP_HELP_URL=https://order.example.org
|
||||||
FOODCOOP_TIME_ZONE=Amsterdam
|
FOODCOOP_TIME_ZONE=Amsterdam
|
||||||
FOODCOOP_FOOTER='<a href="https://example.org/">example</a> hosted by <a href="https://yourhoster.org">Your Tech Co-op</a>.'
|
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
|
||||||
|
|
||||||
# database settings
|
# database settings
|
||||||
MYSQL_DB=foodsoft
|
MYSQL_DB=foodsoft
|
||||||
|
|
|
@ -62,7 +62,7 @@ default: &defaults
|
||||||
#stop_ordering_under: 75
|
#stop_ordering_under: 75
|
||||||
|
|
||||||
# Comment out to completely hide apple points (be sure to comment stop_ordering_under)
|
# Comment out to completely hide apple points (be sure to comment stop_ordering_under)
|
||||||
#use_apple_points: false
|
use_apple_points: {{ env "USE_APPLE_POINTS" }}
|
||||||
|
|
||||||
# ordergroups can only order when their balance is higher than or equal to this
|
# ordergroups can only order when their balance is higher than or equal to this
|
||||||
# not fully enforced right now, since the check is only client-side
|
# not fully enforced right now, since the check is only client-side
|
||||||
|
|
|
@ -33,6 +33,7 @@ x-env: &env
|
||||||
SMTP_PASSWORD_FILE: /run/secrets/smtp_password
|
SMTP_PASSWORD_FILE: /run/secrets/smtp_password
|
||||||
SMTP_PORT:
|
SMTP_PORT:
|
||||||
SMTP_USER_NAME:
|
SMTP_USER_NAME:
|
||||||
|
USE_APPLE_POINTS:
|
||||||
|
|
||||||
x-configs: &configs
|
x-configs: &configs
|
||||||
- source: app_config
|
- source: app_config
|
||||||
|
|
Loading…
Reference in New Issue