24 lines
970 B
Bash
24 lines
970 B
Bash
# Copy to .env for local development. Never reuse these example values in a deployed environment.
|
|
APP_NAME=Magent
|
|
CORS_ALLOW_ORIGIN=http://localhost:3000
|
|
MAGENT_APPLICATION_URL=http://localhost:3000
|
|
MAGENT_API_URL=http://localhost:8000
|
|
SQLITE_PATH=/app/data/magent.db
|
|
LOG_FILE=/app/data/magent.log
|
|
LOG_FORMAT=text
|
|
|
|
# Generate independent values as documented in README.md.
|
|
JWT_SECRET=replace-with-at-least-32-random-characters
|
|
SETTINGS_ENCRYPTION_KEY=replace-with-a-valid-fernet-key
|
|
ADMIN_USERNAME=admin
|
|
# Recommended fresh install: generate a separate random setup token. Open /setup
|
|
# to create the administrator and connect your apps; remove this after finishing.
|
|
SETUP_TOKEN=replace-with-a-separate-random-setup-token
|
|
# Alternatively pre-create the first admin with a unique password (12+ chars).
|
|
# Leave blank to create the account using the setup wizard and SETUP_TOKEN.
|
|
ADMIN_PASSWORD=
|
|
|
|
AUTH_COOKIE_SECURE=false
|
|
AUTH_COOKIE_SAMESITE=strict
|
|
API_DOCS_ENABLED=false
|