P
Postiz•2mo ago
Support

Ticket: Unable to Create Account After Docker Deployment

@Elliott Just created a ticket
Question: I get as far as the login page once I've deployed the Docker Compose file on Coolify, and then can't seem to create an account.
Attempted: Updated the domains. Used Env Variables.
Working On: Trying to get Postiz deployed on a VPS using Coolify
Take it from here @Postiz
8 Replies
Elliott
Elliott•2mo ago
Here's my Docker Compose file: services: postiz: image: ghcr.io/gitroomhq/postiz-app:latest container_name: postiz restart: always environment: # Updated URLs to use your domain MAIN_URL: "${DOMAIN}" FRONTEND_URL: "${DOMAIN}" NEXT_PUBLIC_BACKEND_URL: "https://MYDOMAIN:3000" JWT_SECRET: "${JWT_SECRET}" # Database and Redis connections DATABASE_URL: "postgresql://postiz-user:${DB_PASSWORD}@postiz-postgres:5432/postiz-db-local" REDIS_URL: "redis://postiz-redis:6379" BACKEND_INTERNAL_URL: "http://localhost:3000/" IS_GENERAL: "true" # Storage configuration STORAGE_PROVIDER: "local" UPLOAD_DIRECTORY: "/uploads" NEXT_PUBLIC_UPLOAD_DIRECTORY: "/uploads" volumes: - postiz-config:/config/ - postiz-uploads:/uploads/ networks: - postiz-network labels: - "traefik.enable=true" - "traefik.http.routers.${COOLIFY_SERVICE_NAME}.rule=Host(${DOMAIN})" - "traefik.http.routers.${COOLIFY_SERVICE_NAME}.entrypoints=websecure" - "traefik.http.services.${COOLIFY_SERVICE_NAME}.loadbalancer.server.port=5000" depends_on: postiz-postgres: condition: service_healthy postiz-redis: condition: service_healthy
No description
Elliott
Elliott•2mo ago
#Part 2 as it was too long to post postiz-postgres: image: postgres:14.5 container_name: postiz-postgres restart: always environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: postiz-user POSTGRES_DB: postiz-db-local volumes: - postgres-volume:/var/lib/postgresql/data networks: - postiz-network healthcheck: test: pg_isready -U postiz-user -d postiz-db-local interval: 10s timeout: 3s retries: 3 postiz-redis: image: redis:7.2 container_name: postiz-redis restart: always healthcheck: test: redis-cli ping interval: 10s timeout: 3s retries: 3 volumes: - postiz-redis-data:/data networks: - postiz-network volumes: postgres-volume: postiz-redis-data: postiz-config: postiz-uploads: networks: postiz-network:
Support
SupportOP•2mo ago
@Postiz please help @Elliott
Nevo David
Nevo David•2mo ago
You can't have the frontend on http and the backend on https @Elliott
xcons
xcons•2mo ago
Please use 3x ` when posting large code blocks to Discord What is ${DOMAIN} set to?
Elliott
Elliott•2mo ago
Alright, tried changing both to HTTPS and still no joy. Also, the compose file in the Docs is incorrect based on what you shared. https://docs.postiz.com/installation/coolify
Postiz Documentation
Coolify – Postiz Docs
How to install Postiz on Coolify
Elliott
Elliott•2mo ago
No idea what you mean by 3x, what's that? 😊
No description
xcons
xcons•2mo ago
Three backtick marks ` = backtick Three in a row are:
And if you put those before and after your code block, then it format's nicely
And if you put those before and after your code block, then it format's nicely
Foobar ``` So, when you say something is incorrect, can you point out which part ? Where are you having issues?

Did you find this page helpful?