saleor-apps-rs/.env

29 lines
1.5 KiB
Bash
Raw Normal View History

2024-03-12 19:48:20 +00:00
## COMMON VARIABLES FOR ALL APPS
2024-02-21 21:37:06 +00:00
REQUIRED_SALEOR_VERSION="^3.13"
2024-03-21 15:21:01 +00:00
# only sets port, the host is always 0.0.0.0 (listens to everything). Set this to docker-compose service name
2024-02-21 21:37:06 +00:00
APP_API_BASE_URL="http://10.100.110.234:3000"
APL="Redis"
APL_URL="redis://localhost:6380/2"
LOG_LEVEL="DEBUG"
2024-03-12 19:48:20 +00:00
## THESE VARIABLES ARE FOR SITEMAP-GENERATOR APP
2024-03-06 15:42:04 +00:00
SITEMAP_TARGET_FOLDER="./temp"
# Available fields can be found in ./sitemap-generator/src/queries/event_subjects_updated.rs: ProductUpdate
SITEMAP_PRODUCT_TEMPLATE="https://example.com/{product.category.slug}/{product.slug}"
# Available fields can be found in ./sitemap-generator/src/queries/event_subjects_updated.rs: CategoryUpdate
SITEMAP_CATEGORY_TEMPLATE="https://example.com/{category.slug}"
# Available fields can be found in ./sitemap-generator/src/queries/event_subjects_updated.rs: CollectionUpdate
SITEMAP_COLLECTION_TEMPLATE="https://example.com/collection/{collection.slug}"
# Available fields can be found in ./sitemap-generator/src/queries/event_subjects_updated.rs: PageUpdate
SITEMAP_PAGES_TEMPLATE="https://example.com/{page.slug}"
# Without trailing "/"!
SITEMAP_INDEX_HOSTNAME="https://example.com"
2024-03-12 19:48:20 +00:00
## THESE VARIABLES ARE FOR SIMPLE-PAYMENT-GATEWAY APP
#To see all possible options, check simple-payment-gateway/src/app:GatewayTypes
ACTIVE_GATEWAYS="cod,cash,transfer"
# only SK,EN available :). Determines what language the gateway names will be in storefront
LOCALE="SK"
2024-03-18 17:52:05 +00:00
# uses https://crates.io/crates/iso_currency
CURRENCIES="EUR"