Spleenix
Spleenix
PPostiz
Created by Support on 11/4/2024 in #💭│community-support-tickets
Ticket: Error Linking Social Accounts: Unexpected Token JSON Parse
Anything new? :)
11 replies
PPostiz
Created by Support on 11/4/2024 in #💭│community-support-tickets
Ticket: Error Linking Social Accounts: Unexpected Token JSON Parse
No description
11 replies
PPostiz
Created by Support on 11/4/2024 in #💭│community-support-tickets
Ticket: Error Linking Social Accounts: Unexpected Token JSON Parse
postiz-redis:
image: redis:7.2
container_name: postiz-redis
restart: always
ports:
- 6380:6379
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 3s
retries: 3
volumes:
- postiz-redis-data:/data
networks:
- postiz-network

volumes:
postgres-volume:
external: false
postiz-redis-data:
external: false
postiz-config:
external: false
postiz-uploads:
external: false

networks:
postiz-network:
external: false
postiz-redis:
image: redis:7.2
container_name: postiz-redis
restart: always
ports:
- 6380:6379
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 3s
retries: 3
volumes:
- postiz-redis-data:/data
networks:
- postiz-network

volumes:
postgres-volume:
external: false
postiz-redis-data:
external: false
postiz-config:
external: false
postiz-uploads:
external: false

networks:
postiz-network:
external: false
Using docker-compose file for env
11 replies
PPostiz
Created by Support on 11/4/2024 in #💭│community-support-tickets
Ticket: Error Linking Social Accounts: Unexpected Token JSON Parse
version: '3.8'

services:
postiz:
image: ghcr.io/gitroomhq/postiz-app:latest
container_name: postiz
restart: always
environment:
MAIN_URL: "https://postiz.local"
FRONTEND_URL: "https://postiz.local"
NEXT_PUBLIC_BACKEND_URL: "https://postiz.local/api"
JWT_SECRET: "random-unique-string"
DATABASE_URL: "postgresql://postiz-user:postiz-password@postiz-postgres:5432/postiz-db-local"
REDIS_URL: "redis://postiz-redis:6379"
BACKEND_INTERNAL_URL: "http://postiz:5000"
IS_GENERAL: "true"
STORAGE_PROVIDER: "local"
UPLOAD_DIRECTORY: "/uploads"
LINKEDIN_CLIENT_ID: "hiddenid"
LINKEDIN_CLIENT_SECRET: "hidden"
INSTAGRAM_APP_ID: "hiddenid"
INSTAGRAM_APP_SECRET: "hidden"
FACEBOOK_APP_ID: "hiddenid"
FACEBOOK_APP_SECRET: "hidden"
NEXT_PUBLIC_UPLOAD_DIRECTORY: "/uploads"
volumes:
- postiz-config:/config/
- postiz-uploads:/uploads/
ports:
- 5000:5000
networks:
- postiz-network
depends_on:
postiz-postgres:
condition: service_healthy
postiz-redis:
condition: service_healthy

nginx:
image: nginx:latest
container_name: nginx
ports:
- "80:80"
- "443:443"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- ./certificates:/etc/nginx/certs
networks:
- postiz-network
depends_on:
- postiz


postiz-postgres:
image: postgres:14.5
container_name: postiz-postgres
restart: always
environment:
POSTGRES_PASSWORD: postiz-password
POSTGRES_USER: postiz-user
POSTGRES_DB: postiz-db-local
volumes:
- postgres-volume:/var/lib/postgresql/data
ports:
- 5433:5432
networks:
- postiz-network
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postiz-user -d postiz-db-local"]
interval: 10s
timeout: 3s
retries: 3
version: '3.8'

services:
postiz:
image: ghcr.io/gitroomhq/postiz-app:latest
container_name: postiz
restart: always
environment:
MAIN_URL: "https://postiz.local"
FRONTEND_URL: "https://postiz.local"
NEXT_PUBLIC_BACKEND_URL: "https://postiz.local/api"
JWT_SECRET: "random-unique-string"
DATABASE_URL: "postgresql://postiz-user:postiz-password@postiz-postgres:5432/postiz-db-local"
REDIS_URL: "redis://postiz-redis:6379"
BACKEND_INTERNAL_URL: "http://postiz:5000"
IS_GENERAL: "true"
STORAGE_PROVIDER: "local"
UPLOAD_DIRECTORY: "/uploads"
LINKEDIN_CLIENT_ID: "hiddenid"
LINKEDIN_CLIENT_SECRET: "hidden"
INSTAGRAM_APP_ID: "hiddenid"
INSTAGRAM_APP_SECRET: "hidden"
FACEBOOK_APP_ID: "hiddenid"
FACEBOOK_APP_SECRET: "hidden"
NEXT_PUBLIC_UPLOAD_DIRECTORY: "/uploads"
volumes:
- postiz-config:/config/
- postiz-uploads:/uploads/
ports:
- 5000:5000
networks:
- postiz-network
depends_on:
postiz-postgres:
condition: service_healthy
postiz-redis:
condition: service_healthy

nginx:
image: nginx:latest
container_name: nginx
ports:
- "80:80"
- "443:443"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- ./certificates:/etc/nginx/certs
networks:
- postiz-network
depends_on:
- postiz


postiz-postgres:
image: postgres:14.5
container_name: postiz-postgres
restart: always
environment:
POSTGRES_PASSWORD: postiz-password
POSTGRES_USER: postiz-user
POSTGRES_DB: postiz-db-local
volumes:
- postgres-volume:/var/lib/postgresql/data
ports:
- 5433:5432
networks:
- postiz-network
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postiz-user -d postiz-db-local"]
interval: 10s
timeout: 3s
retries: 3
11 replies
PPostiz
Created by Support on 10/29/2024 in #💭│community-support-tickets
Ticket: Successful login but no redirect in Postiz
Are self-signed certificates enough?
11 replies
PPostiz
Created by Support on 10/29/2024 in #💭│community-support-tickets
Ticket: Successful login but no redirect in Postiz
I run postiz via docker-compose on a raspberry pi and access the site via the IP of the raspberry pi in the internal network.
11 replies