summaryrefslogtreecommitdiff
path: root/.env.control.example
diff options
context:
space:
mode:
authorChia <Chia@93.nz>2026-08-05 14:48:00 +1200
committerChia <Chia@93.nz>2026-08-05 14:48:00 +1200
commitcd0dd91ab93653631904f2ea0e574ccde6d60339 (patch)
treec65417b880a3f4a35c504c44edae821bc2122f70 /.env.control.example
parent86b1f42e3c5601ff10621a9779cf0076590797a1 (diff)
add passkey, totp.
Diffstat (limited to '.env.control.example')
-rw-r--r--.env.control.example21
1 files changed, 20 insertions, 1 deletions
diff --git a/.env.control.example b/.env.control.example
index 8152d40..8122e07 100644
--- a/.env.control.example
+++ b/.env.control.example
@@ -1,8 +1,27 @@
-AIGW_DATABASE_URL=postgres://aigw:aigw@127.0.0.1:5432/aigw?sslmode=disable
+AIGW_SERVER_ADDRESS=:8080
+AIGW_POSTGRES_USER=aigw-local
+AIGW_POSTGRES_PASSWORD=replace-with-a-long-random-password
+AIGW_POSTGRES_DB=aigw-local
+AIGW_DATABASE_URL=postgres://aigw-local:replace-with-a-long-random-password@127.0.0.1:5432/aigw-local?sslmode=disable
+AIGW_DATABASE_URL_DOCKER=postgres://aigw-local:replace-with-a-long-random-password@postgres:5432/aigw-local?sslmode=disable
AIGW_REDIS_URL=redis://127.0.0.1:6379/0
+AIGW_REDIS_URL_DOCKER=redis://redis:6379/0
# base64 of exactly 32 random bytes; generate with: openssl rand -base64 32
AIGW_CREDENTIAL_KEY=replace-with-base64-32-byte-key
AIGW_ADMIN_TOKEN=replace-with-a-long-random-admin-token
+AIGW_PUBLIC_URL=http://localhost:8080/admin/
+AIGW_WEBAUTHN_RP_ID=localhost
+AIGW_WEBAUTHN_ORIGINS=http://localhost:8080
+AIGW_SMTP_FROM_ADDRESS=no-reply@aigw.local
+AIGW_SMTP_ADDRESS=127.0.0.1:1025
+AIGW_SMTP_ADDRESS_DOCKER=mailpit:1025
+# Leave both empty for a local Mailpit server; set both through a secret manager in production.
+AIGW_SMTP_USERNAME=
+AIGW_SMTP_PASSWORD=
# Prefer a restricted test key (rk_test_) with Checkout Session write access.
AIGW_STRIPE_API_KEY=replace-with-a-stripe-restricted-key
+# Development only: use a separate key with Debugging Tools Write for Stripe CLI.
+AIGW_STRIPE_CLI_API_KEY=replace-with-a-separate-cli-restricted-key
AIGW_STRIPE_WEBHOOK_SECRET=replace-with-a-webhook-signing-secret
+AIGW_STRIPE_SUCCESS_URL=http://localhost:8080/admin/?topup=success
+AIGW_STRIPE_CANCEL_URL=http://localhost:8080/admin/?topup=cancel