lan_kiosk/.env.example
Anna-Sara Sélea df9f1cf17e Swish feature
2026-08-22 16:13:42 +02:00

104 lines
2.6 KiB
Text

APP_NAME=Laravel
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost
APP_LOCALE=en
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=en_US
APP_MAINTENANCE_DRIVER=file
# APP_MAINTENANCE_STORE=database
PHP_CLI_SERVER_WORKERS=4
BCRYPT_ROUNDS=12
LOG_CHANNEL=stack
LOG_STACK=single
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug
DB_CONNECTION=sqlite
# DB_HOST=127.0.0.1
# DB_PORT=3306
# DB_DATABASE=laravel
# DB_USERNAME=root
# DB_PASSWORD=
SESSION_DRIVER=database
SESSION_LIFETIME=120
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=null
BROADCAST_CONNECTION=log
FILESYSTEM_DISK=local
QUEUE_CONNECTION=database
CACHE_STORE=database
# CACHE_PREFIX=
MEMCACHED_HOST=127.0.0.1
REDIS_CLIENT=phpredis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_MAILER=log
MAIL_SCHEME=null
MAIL_HOST=127.0.0.1
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_FROM_ADDRESS="hello@example.com"
MAIL_FROM_NAME="${APP_NAME}"
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
AWS_USE_PATH_STYLE_ENDPOINT=false
VITE_APP_NAME="${APP_NAME}"
# ---------------------------------------------------------------
# Swish
# ---------------------------------------------------------------
# The Swish merchant number (Swish för företag) that receives payments.
SWISH_PAYEE_ALIAS=
# Where Swish should send payment callbacks.
# This must be a publicly reachable HTTPS URL pointing at the swish-receiver (Python app).
# The /kiosk path suffix tells the Python app to route this callback to the kiosk app.
# The Python app looks up KIOSK_CALLBACK_URL from its .env and forwards the request there.
#
# Local dev (Python app running on localhost):
# SWISH_CALLBACK_URL=http://localhost:8000/webhook/swish
#
# Production (Python app's public URL):
# SWISH_CALLBACK_URL=https://swish.vbytes.se/webhook/swish
SWISH_CALLBACK_URL=
# The Swish Handel API. Payments are registered here before the app is opened —
# without this call Swish never learns about the payment and no callback is sent.
#
# Test "MSS" (open test environment, no agreement needed):
# SWISH_API_URL=https://mss.cpc.getswish.net
#
# Production:
# SWISH_API_URL=https://cpc.getswish.net
SWISH_API_URL=
# Client certificate for the API call (mutual TLS). This is what identifies us as
# the merchant. Convert the .p12 from the bank (or Swish's test certificate) to a
# combined PEM holding both certificate and private key:
# openssl pkcs12 -in cert.p12 -out swish.pem -nodes
SWISH_CLIENTCERT_PATH=
# Swish's own root CA, used to verify their server certificate.
# Corresponds to --cacert in the curl examples in the Swish documentation.
SWISH_CA_PATH=