@@ -41,24 +41,103 @@ services:
41
41
container_name : postiz
42
42
restart : always
43
43
environment :
44
- # You must change these. Replace `postiz.your-server.com` with your DNS name - this needs to be exactly the URL you're accessing Postiz on.
44
+ # === Required Settings
45
45
MAIN_URL : " https://postiz.your-server.com"
46
46
FRONTEND_URL : " https://postiz.your-server.com"
47
47
NEXT_PUBLIC_BACKEND_URL : " https://postiz.your-server.com/api"
48
48
JWT_SECRET : " random string that is unique to every install - just type random characters here!"
49
-
50
- # These defaults are probably fine, but if you change your user/password, update it in the
51
- # postiz-postgres or postiz-redis services below.
52
49
DATABASE_URL : " postgresql://postiz-user:postiz-password@postiz-postgres:5432/postiz-db-local"
53
50
REDIS_URL : " redis://postiz-redis:6379"
54
51
BACKEND_INTERNAL_URL : " http://localhost:3000"
55
- IS_GENERAL : " true" # Required for self-hosting.
56
- DISABLE_REGISTRATION : " false" # Only allow single registration, then disable signup
57
- # The container images are pre-configured to use /uploads for file storage.
58
- # You probably should not change this unless you have a really good reason!
52
+ IS_GENERAL : " true"
53
+ DISABLE_REGISTRATION : " false"
54
+
55
+ # === Storage Settings
59
56
STORAGE_PROVIDER : " local"
60
57
UPLOAD_DIRECTORY : " /uploads"
61
58
NEXT_PUBLIC_UPLOAD_DIRECTORY : " /uploads"
59
+
60
+ # === Cloudflare (R2) Settings
61
+ CLOUDFLARE_ACCOUNT_ID : " your-account-id"
62
+ CLOUDFLARE_ACCESS_KEY : " your-access-key"
63
+ CLOUDFLARE_SECRET_ACCESS_KEY : " your-secret-access-key"
64
+ CLOUDFLARE_BUCKETNAME : " your-bucket-name"
65
+ CLOUDFLARE_BUCKET_URL : " https://your-bucket-url.r2.cloudflarestorage.com/"
66
+ CLOUDFLARE_REGION : " auto"
67
+
68
+ # === Social Media API Settings
69
+ X_API_KEY : " "
70
+ X_API_SECRET : " "
71
+ LINKEDIN_CLIENT_ID : " "
72
+ LINKEDIN_CLIENT_SECRET : " "
73
+ REDDIT_CLIENT_ID : " "
74
+ REDDIT_CLIENT_SECRET : " "
75
+ GITHUB_CLIENT_ID : " "
76
+ GITHUB_CLIENT_SECRET : " "
77
+ BEEHIIVE_API_KEY : " "
78
+ BEEHIIVE_PUBLICATION_ID : " "
79
+ THREADS_APP_ID : " "
80
+ THREADS_APP_SECRET : " "
81
+ FACEBOOK_APP_ID : " "
82
+ FACEBOOK_APP_SECRET : " "
83
+ YOUTUBE_CLIENT_ID : " "
84
+ YOUTUBE_CLIENT_SECRET : " "
85
+ TIKTOK_CLIENT_ID : " "
86
+ TIKTOK_CLIENT_SECRET : " "
87
+ PINTEREST_CLIENT_ID : " "
88
+ PINTEREST_CLIENT_SECRET : " "
89
+ DRIBBBLE_CLIENT_ID : " "
90
+ DRIBBBLE_CLIENT_SECRET : " "
91
+ DISCORD_CLIENT_ID : " "
92
+ DISCORD_CLIENT_SECRET : " "
93
+ DISCORD_BOT_TOKEN_ID : " "
94
+ SLACK_ID : " "
95
+ SLACK_SECRET : " "
96
+ SLACK_SIGNING_SECRET : " "
97
+ MASTODON_URL : " https://mastodon.social"
98
+ MASTODON_CLIENT_ID : " "
99
+ MASTODON_CLIENT_SECRET : " "
100
+
101
+ # === OAuth & Authentik Settings
102
+ NEXT_PUBLIC_POSTIZ_OAUTH_DISPLAY_NAME : " Authentik"
103
+ NEXT_PUBLIC_POSTIZ_OAUTH_LOGO_URL : " https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/authentik.png"
104
+ POSTIZ_GENERIC_OAUTH : " false"
105
+ POSTIZ_OAUTH_URL : " https://auth.example.com"
106
+ POSTIZ_OAUTH_AUTH_URL : " https://auth.example.com/application/o/authorize"
107
+ POSTIZ_OAUTH_TOKEN_URL : " https://auth.example.com/application/o/token"
108
+ POSTIZ_OAUTH_USERINFO_URL : " https://authentik.example.com/application/o/userinfo"
109
+ POSTIZ_OAUTH_CLIENT_ID : " "
110
+ POSTIZ_OAUTH_CLIENT_SECRET : " "
111
+ # POSTIZ_OAUTH_SCOPE: "openid profile email" # Optional: uncomment to override default scope
112
+
113
+ # === Misc Settings
114
+ OPENAI_API_KEY : " "
115
+ NEXT_PUBLIC_DISCORD_SUPPORT : " "
116
+ NEXT_PUBLIC_POLOTNO : " "
117
+ API_LIMIT : 30
118
+
119
+ # === Payment / Stripe Settings
120
+ FEE_AMOUNT : 0.05
121
+ STRIPE_PUBLISHABLE_KEY : " "
122
+ STRIPE_SECRET_KEY : " "
123
+ STRIPE_SIGNING_KEY : " "
124
+ STRIPE_SIGNING_KEY_CONNECT : " "
125
+
126
+ # === Developer Settings
127
+ NX_ADD_PLUGINS : false
128
+
129
+ # === Short Link Service Settings (Optional - leave blank if unused)
130
+ # DUB_TOKEN: ""
131
+ # DUB_API_ENDPOINT: "https://api.dub.co"
132
+ # DUB_SHORT_LINK_DOMAIN: "dub.sh"
133
+ # SHORT_IO_SECRET_KEY: ""
134
+ # KUTT_API_KEY: ""
135
+ # KUTT_API_ENDPOINT: "https://kutt.it/api/v2"
136
+ # KUTT_SHORT_LINK_DOMAIN: "kutt.it"
137
+ # LINK_DRIP_API_KEY: ""
138
+ # LINK_DRIP_API_ENDPOINT: "https://api.linkdrip.com/v1/"
139
+ # LINK_DRIP_SHORT_LINK_DOMAIN: "dripl.ink"
140
+
62
141
volumes :
63
142
- postiz-config:/config/
64
143
- postiz-uploads:/uploads/
0 commit comments