prep for self-hosting - updated readme, env example, dockerfile, compose, dockerignore
This commit is contained in:
19
.env.example
19
.env.example
@@ -1,24 +1,23 @@
|
||||
# Database
|
||||
DB_PASSWORD=change-me-to-a-random-string
|
||||
DATABASE_URL=postgresql://echoboard:change-me-to-a-random-string@db:5432/echoboard
|
||||
# Database (POSTGRES_PASSWORD is shared between the app and the postgres container)
|
||||
POSTGRES_PASSWORD=change-me-to-a-strong-random-string
|
||||
|
||||
# Encryption (generate with: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))")
|
||||
# Encryption keys (generate each with: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))")
|
||||
APP_MASTER_KEY=
|
||||
APP_BLIND_INDEX_KEY=
|
||||
|
||||
# Auth secrets (generate each the same way as above)
|
||||
# Auth secrets (generate each the same way)
|
||||
TOKEN_SECRET=
|
||||
JWT_SECRET=
|
||||
|
||||
# ALTCHA spam protection
|
||||
# ALTCHA spam protection (generate the same way)
|
||||
ALTCHA_HMAC_KEY=
|
||||
|
||||
# WebAuthn / Passkey
|
||||
# WebAuthn / Passkey (set these to your actual domain)
|
||||
WEBAUTHN_RP_NAME=Echoboard
|
||||
WEBAUTHN_RP_ID=localhost
|
||||
WEBAUTHN_ORIGIN=http://localhost:3000
|
||||
WEBAUTHN_RP_ID=example.com
|
||||
WEBAUTHN_ORIGIN=https://example.com
|
||||
|
||||
# Web Push (generate with: npx web-push generate-vapid-keys)
|
||||
# Web push notifications (generate with: npx web-push generate-vapid-keys)
|
||||
VAPID_PUBLIC_KEY=
|
||||
VAPID_PRIVATE_KEY=
|
||||
VAPID_CONTACT=mailto:admin@example.com
|
||||
|
||||
Reference in New Issue
Block a user