Add additional environment variables for Postiz service in docker-compose.yml

- Introduced FRONTEND_URL, NEXT_PUBLIC_BACKEND_URL, BACKEND_INTERNAL_URL, MAIN_URL, and STORAGE_PROVIDER variables to enhance service configuration.
- These additions improve the flexibility and connectivity of the Postiz service within the Docker environment.
This commit is contained in:
Yury Kossakovsky
2025-08-19 14:30:24 -06:00
parent f9b22d9631
commit 658b3a75eb

View File

@@ -616,6 +616,11 @@ services:
- REDIS_URL=redis://redis:6379
- JWT_SECRET=${JWT_SECRET}
- DISABLE_REGISTRATION=true
- FRONTEND_URL=${POSTIZ_HOSTNAME:+https://}${POSTIZ_HOSTNAME}
- NEXT_PUBLIC_BACKEND_URL=${POSTIZ_HOSTNAME:+https://}${POSTIZ_HOSTNAME}
- BACKEND_INTERNAL_URL=http://postiz:3000
- MAIN_URL=${POSTIZ_HOSTNAME:+https://}${POSTIZ_HOSTNAME}
- STORAGE_PROVIDER=local
# Social Media API Settings
- X_API_KEY=${X_API_KEY}
- X_API_SECRET=${X_API_SECRET}