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"
66JWT_SECRET = " random string for your JWT secret, make it long"
@@ -20,7 +20,6 @@ CLOUDFLARE_BUCKETNAME="your-bucket-name"
2020CLOUDFLARE_BUCKET_URL = " https://your-bucket-url.r2.cloudflarestorage.com/"
2121CLOUDFLARE_REGION = " auto"
2222
23-
2423# === Common optional Settings
2524
2625# # This is a dummy key, you must create your own from Resend.
@@ -32,15 +31,14 @@ CLOUDFLARE_REGION="auto"
3231# DISABLE_REGISTRATION=false
3332
3433# Where will social media icons be saved - local or cloudflare.
35- STORAGE_PROVIDER = " local"
34+ STORAGE_PROVIDER = " local"
3635
3736# Your upload directory path if you host your files locally, otherwise Cloudflare will be used.
3837# UPLOAD_DIRECTORY=""
3938
4039# Your upload directory path if you host your files locally, otherwise Cloudflare will be used.
4140# NEXT_PUBLIC_UPLOAD_STATIC_DIRECTORY=""
4241
43-
4442# Social Media API Settings
4543X_API_KEY = " "
4644X_API_SECRET = " "
@@ -81,6 +79,7 @@ OPENAI_API_KEY=""
8179NEXT_PUBLIC_DISCORD_SUPPORT = " "
8280NEXT_PUBLIC_POLOTNO = " "
8381NOT_SECURED = false
82+ API_LIMIT = 30 # The limit of the public API hour limit
8483
8584# Payment settings
8685FEE_AMOUNT = 0.05
@@ -92,3 +91,18 @@ STRIPE_SIGNING_KEY_CONNECT=""
9291# Developer Settings
9392NX_ADD_PLUGINS = false
9493IS_GENERAL = " true" # required for now
94+ NEXT_PUBLIC_POSTIZ_OAUTH_DISPLAY_NAME = " Authentik"
95+ NEXT_PUBLIC_POSTIZ_OAUTH_LOGO_URL = " https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/authentik.png"
96+ POSTIZ_GENERIC_OAUTH = " false"
97+ POSTIZ_OAUTH_URL = " https://auth.example.com"
98+ POSTIZ_OAUTH_AUTH_URL = " https://auth.example.com/application/o/authorize"
99+ POSTIZ_OAUTH_TOKEN_URL = " https://auth.example.com/application/o/token"
100+ POSTIZ_OAUTH_USERINFO_URL = " https://authentik.example.com/application/o/userinfo"
101+ POSTIZ_OAUTH_CLIENT_ID = " "
102+ POSTIZ_OAUTH_CLIENT_SECRET = " "
103+ # POSTIZ_OAUTH_SCOPE="openid profile email" # default values
104+
105+ # Short Link Service Settings
106+ # DUB_TOKEN="" # Your self-hosted Dub API token
107+ # DUB_API_ENDPOINT="https://api.dub.co" # Your self-hosted Dub API endpoint
108+ # DUB_SHORT_LINK_DOMAIN="dub.sh" # Your self-hosted Dub domain
0 commit comments