forked from saleor/apps
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
40 lines (33 loc) 路 1.71 KB
/
Copy path.env.example
File metadata and controls
40 lines (33 loc) 路 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# See `src/lib/env.ts` for exhaustive list of supported and required env variables
# The key used for encryption aes-256-cbc algorithm, which requires 16 or 32 bytes key in hex encoding. Use mac command `openssl rand -hex 32` to generate one
SECRET_KEY=
# Rotation target. When set:
# - app encrypts NEW writes with NEW_SECRET_KEY
# - SECRET_KEY becomes decrypt-only
# - run scripts/rotate-secret-key.ts to re-encrypt data from SECRET_KEY to NEW_SECRET_KEY
# After rotation completes:
# - delete SECRET_KEY env var
# - set SECRET_KEY to the NEW_SECRET_KEY value (use Encrypted type, NOT Sensitive, to allow future rotations)
# - remove NEW_SECRET_KEY
# NEW_SECRET_KEY=
# Variable controlling Saleor domains that app can be installed on.
# It's a regex pattern.
ALLOWED_DOMAIN_PATTERN=/*/
# Additional variables for the app - not needed to start the app
# APL=file # tells app where to keep its credentials
# APP_LOG_LEVEL=info # one of "fatal" | "error" | "warn" | "info" | "debug" | "trace"
# Local development variables. When developed locally with Saleor inside docker, these can be set to:
# APP_IFRAME_BASE_URL = http://localhost:3000, so Dashboard on host can access iframe
# APP_API_BASE_URL=http://host.docker.internal:3000 - so Saleor can reach App running on host, from the container.
# If developed with tunnels, set this empty, it will fallback to default Next's localhost:3000
# https://docs.saleor.io/developer/extending/apps/local-app-development
# APP_IFRAME_BASE_URL=
# APP_API_BASE_URL=
# Local Dynamo setup
AWS_REGION=localhost
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_ENDPOINT_URL=http://localhost:8000
DYNAMODB_MAIN_TABLE_NAME=np-atobarai-main-table
DYNAMODB_REQUEST_TIMEOUT_MS=
DYNAMODB_CONNECTION_TIMEOUT_MS=