11# Configuration reference: http://docs.postiz.com/configuration/reference
22
3- # === Required Settings
3+ # === Required Settings ===
44DATABASE_URL = " postgresql://postiz-user:postiz-password@localhost:5432/postiz-db-local"
55REDIS_URL = " redis://localhost:6379"
6- JWT_SECRET = " random string for your JWT secret, make it long"
6+ JWT_SECRET = " random string for your JWT secret, make it long (minimum 32 characters) "
77
8- # === This needs to be exactly the URL you're accessing Postiz on
8+ # === URLs (must be exactly the URLs you're accessing Postiz on) ===
99FRONTEND_URL = " http://localhost:4200"
1010NEXT_PUBLIC_BACKEND_URL = " http://localhost:3000"
1111BACKEND_INTERNAL_URL = " http://localhost:3000"
1212
13- # # Remember to set your public internet IP address in the allow-list for the API token.
14- # #
13+ # === Sentry Configuration (Optional but Recommended) ===
14+ SENTRY_ENABLED = " false"
15+ # SENTRY_DSN="https://[email protected] /project-id"16+ # SENTRY_ENVIRONMENT="development"
17+ # SENTRY_TRACES_SAMPLE_RATE="0.1"
18+ # SENTRY_PROFILES_SAMPLE_RATE="0.1"
19+ # SENTRY_REPLAYS_SESSION_SAMPLE_RATE="0.1"
20+ # SENTRY_REPLAYS_ON_ERROR_SAMPLE_RATE="1.0"
21+ # SENTRY_DEBUG="false"
22+
23+ # === Frontend-specific Sentry (auto-populated from above) ===
24+ # These are auto-populated by the Sentry script, but you can override them if needed
25+ # NEXT_PUBLIC_SENTRY_ENABLED="false"
26+ # NEXT_PUBLIC_SENTRY_DSN="https://[email protected] /project-id"27+ # NEXT_PUBLIC_SENTRY_ENVIRONMENT="development"
28+ # NEXT_PUBLIC_SENTRY_TRACES_SAMPLE_RATE="0.1"
29+ # NEXT_PUBLIC_SENTRY_REPLAYS_SESSION_SAMPLE_RATE="0.1"
30+ # NEXT_PUBLIC_SENTRY_REPLAYS_ON_ERROR_SAMPLE_RATE="1.0"
31+ # NEXT_PUBLIC_SENTRY_DEBUG="false"
32+ # NEXT_PUBLIC_APP_VERSION="1.0.0"
33+
34+ # === Storage Configuration ===
1535# # Cloudflare is currently required to save things like social media avatars for accounts.
36+ # # Remember to set your public internet IP address in the allow-list for the API token.
1637CLOUDFLARE_ACCOUNT_ID = " your-account-id"
1738CLOUDFLARE_ACCESS_KEY = " your-access-key"
1839CLOUDFLARE_SECRET_ACCESS_KEY = " your-secret-access-key"
1940CLOUDFLARE_BUCKETNAME = " your-bucket-name"
20- CLOUDFLARE_BUCKET_URL = " https://your-bucket-url.r2.cloudflarestorage.com/ "
41+ CLOUDFLARE_BUCKET_URL = " https://your-bucket-url.r2.cloudflarestorage.com"
2142CLOUDFLARE_REGION = " auto"
2243
2344# === Common optional Settings
@@ -34,10 +55,8 @@ CLOUDFLARE_REGION="auto"
3455STORAGE_PROVIDER = " local"
3556
3657# Your upload directory path if you host your files locally, otherwise Cloudflare will be used.
37- # UPLOAD_DIRECTORY=""
38-
39- # Your upload directory path if you host your files locally, otherwise Cloudflare will be used.
40- # NEXT_PUBLIC_UPLOAD_STATIC_DIRECTORY=""
58+ # UPLOAD_DIRECTORY="/path/to/uploads"
59+ # NEXT_PUBLIC_UPLOAD_STATIC_DIRECTORY="/uploads"
4160
4261# Social Media API Settings
4362X_API_KEY = " "
0 commit comments