| 1 | DATABASE_URL=postgres://postgres:postgres@localhost:5432/ghost |
| 2 | BETTER_AUTH_SECRET= |
| 3 | API_PORT=3001 |
| 4 | BETTER_AUTH_URL=http://localhost:$API_PORT |
| 5 | AUTH_TRUSTED_ORIGINS=http://localhost:3000 |
| 6 | # Set in production when web and API share a parent domain, e.g. .example.com |
| 7 | AUTH_COOKIE_DOMAIN= |
| 8 | NEXT_PUBLIC_API_URL=http://localhost:$API_PORT |
| 9 | S3_ENDPOINT=http://localhost:9000 |
| 10 | S3_ACCESS_KEY_ID=ghost |
| 11 | S3_SECRET_ACCESS_KEY=ghostsecret |
| 12 | S3_BUCKET=ghost |
| 13 | |
| 14 | # Origin of the web app; verify and reset-password forms live there. |
| 15 | WEB_APP_URL=http://localhost:3000 |
| 16 | |
| 17 | # The docs app (apps/docs) and the instance it links back to. Both are inlined |
| 18 | # into their bundles at build time, so set them before building, not at boot. |
| 19 | NEXT_PUBLIC_DOCS_URL=http://localhost:3003 |
| 20 | NEXT_PUBLIC_WEB_APP_URL=http://localhost:3000 |
| 21 | |
| 22 | # Email verification is opt-in so self-hosted instances work without a mail server. |
| 23 | EMAIL_VERIFICATION_ENABLED=false |
| 24 | EMAIL_SENDER="Ghost <noreply@ghost.local>" |
| 25 | # Either an HTTP relay... |
| 26 | EMAIL_PROXY= |
| 27 | EMAIL_PROXY_SECRET= |
| 28 | # ...or SMTP. |
| 29 | MAIL_HOST= |
| 30 | MAIL_PORT=587 |
| 31 | MAIL_SECURE=false |
| 32 | MAIL_USER= |
| 33 | MAIL_PASSWORD= |