-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Hello,
I have successfully set up the Postiz application on a local Ubuntu server using Docker Compose and an external PostgreSQL database. The server starts up successfully and all services are running.
However, I am unable to log in or create a new account.
Symptoms:
I can load the login/registration page at http://192.168.1.101:5000.
When I fill out the form and click "Create Account" or "Login", the page simply reloads to the login screen without any error message.
Using the browser's developer tools, the Network tab shows that no POST request is ever sent to the server when the button is clicked.
The Console tab shows no JavaScript errors.
This indicates a frontend JavaScript issue is preventing the form from being submitted.
My Environment:
Postiz Image: ghcr.io/gitroomhq/postiz-app:v1.36.1-amd64
Server OS: Ubuntu 24.04.2 LTS
Database: External PostgreSQL 15
Final docker-compose.yml Configuration:
YAML
services:
postiz:
image: ghcr.io/gitroomhq/postiz-app:v1.36.1-amd64
container_name: postiz_app
restart: always
ports:
- "5000:5000"
depends_on:
- redis
environment:
MAIN_URL: "http://192.168.1.101:5000"
FRONTEND_URL: "http://192.168.1.101:5000"
NEXT_PUBLIC_BACKEND_URL: "http://192.168.1.101:5000/api"
NEXTAUTH_URL: "http://192.168.1.101:5000"
BACKEND_INTERNAL_URL: "http://postiz_app:3000"
NEXTAUTH_SECRET: "LvJy/Qimxc9bCsX0nx/wNQ8ShSjT1V0i7XSt7uSVP+8="
JWT_SECRET: "ZSmEyXa1Y+riLw0x7wzBY+a8SMzC4gklMu+CNS0T7eY="
DATABASE_URL: "postgresql://postiz_user:StrongPassword123@192.168.1.101:5432/postiz"
REDIS_URL: "redis://redis:6379"
STORAGE_PROVIDER: "local"
NODEMAILER_TRANSPORT_URL: "smtp://karim.ca2025%40gmail.com:awqtyaalqhselzpy@smtp.gmail.com:587"
NODE_ENV: production
redis:
image: redis:7-alpine
container_name: postiz_redis
restart: always
volumes:
- postiz_redis_data:/data
volumes:
postiz_redis_data: {}