penny
PPostiz
•Created by Support on 11/15/2024 in #ðŸ’│community-support-tickets
Ticket: Self-Hosted Postiz Account Login Issue
No, still getting errors. I spent like 10 hours on this, so I'm probably just going to try something else.
86 replies
PPostiz
•Created by Support on 11/15/2024 in #ðŸ’│community-support-tickets
Ticket: Self-Hosted Postiz Account Login Issue
https://postiz.postautomation.synology.me is the endpoint for the synology https access, but it looks like it's trying to talk to the posts.bryanmanio.com url specified in the compose file.
Would ie be as simple as switching the config to point to this new synology domain?
86 replies
PPostiz
•Created by Support on 11/15/2024 in #ðŸ’│community-support-tickets
Ticket: Self-Hosted Postiz Account Login Issue
![No description](https://cdn.answeroverflow.com/1307118790064083015/CleanShot_2024-11-15_at_16.01.33.png)
86 replies
PPostiz
•Created by Support on 11/15/2024 in #ðŸ’│community-support-tickets
Ticket: Self-Hosted Postiz Account Login Issue
Yeah I'll recreate the secret on the final version
86 replies
PPostiz
•Created by Support on 11/15/2024 in #ðŸ’│community-support-tickets
Ticket: Self-Hosted Postiz Account Login Issue
or should I keep the original http domain:port, while adding the domain name only in the traefik compose file?
86 replies
PPostiz
•Created by Support on 11/15/2024 in #ðŸ’│community-support-tickets
Ticket: Self-Hosted Postiz Account Login Issue
Can you confirm this is the right way to go if I go the subdomain route? I've added my site as the main, frontend, and backend url -
version: "3.8"
services:
postiz:
image: ghcr.io/gitroomhq/postiz-app:latest
container_name: postiz
restart: always
environment:
MAIN_URL: "https://posts.bryanmanio.com"
FRONTEND_URL: "https://posts.bryanmanio.com"
NEXT_PUBLIC_BACKEND_URL: "https://posts.bryanmanio.com/api"
JWT_SECRET: "J8K#mP9$vL2@nQ5^wR7*hX3&fY4%tZ6!cN1"
DATABASE_URL: "postgresql://postiz-user:postiz-password@postiz-
86 replies
PPostiz
•Created by Support on 11/15/2024 in #ðŸ’│community-support-tickets
Ticket: Self-Hosted Postiz Account Login Issue
Ok, I'll see if I can figure that out
86 replies
PPostiz
•Created by Support on 11/15/2024 in #ðŸ’│community-support-tickets
Ticket: Self-Hosted Postiz Account Login Issue
ah, I see this - https://docs.postiz.com/reverse-proxies/nginx
86 replies
PPostiz
•Created by Support on 11/15/2024 in #ðŸ’│community-support-tickets
Ticket: Self-Hosted Postiz Account Login Issue
I'm looking through the docs, and I don't see anything on setting up the https cert
86 replies
PPostiz
•Created by Support on 11/15/2024 in #ðŸ’│community-support-tickets
Ticket: Self-Hosted Postiz Account Login Issue
No, I thought that's what the reverse proxy was for?
86 replies
PPostiz
•Created by Support on 11/15/2024 in #ðŸ’│community-support-tickets
Ticket: Self-Hosted Postiz Account Login Issue
This is what I'm getting via https://192.168.4.79:5000/
86 replies
PPostiz
•Created by Support on 11/15/2024 in #ðŸ’│community-support-tickets
Ticket: Self-Hosted Postiz Account Login Issue
![No description](https://cdn.answeroverflow.com/1307063456653905961/CleanShot_2024-11-15_at_12.23.20.png)
86 replies
PPostiz
•Created by Support on 11/15/2024 in #ðŸ’│community-support-tickets
Ticket: Self-Hosted Postiz Account Login Issue
Ok cool
86 replies
PPostiz
•Created by Support on 11/15/2024 in #ðŸ’│community-support-tickets
Ticket: Self-Hosted Postiz Account Login Issue
Looks like I'll need to set up a reverse proxy as well?
86 replies
PPostiz
•Created by Support on 11/15/2024 in #ðŸ’│community-support-tickets
Ticket: Self-Hosted Postiz Account Login Issue
version: "3.8"
services:
postiz:
image: ghcr.io/gitroomhq/postiz-app:latest
container_name: postiz
restart: always
environment:
MAIN_URL: "https://192.168.4.79:5000"
FRONTEND_URL: "https://192.168.4.79:5000"
NEXT_PUBLIC_BACKEND_URL: "https://192.168.4.79:5000/api"
JWT_SECRET: "J8K#mP9$vL2@nQ5^wR7*hX3&fY4%tZ6!cN1"
DATABASE_URL: "postgresql://postiz-user:postiz-password@postiz-postgres:5432/postiz-db-local"
REDIS_URL: "redis://postiz-redis:6379"
BACKEND_INTERNAL_URL: "http://localhost:3000"
IS_GENERAL: "true"
STORAGE_PROVIDER: "local"
UPLOAD_DIRECTORY: "/uploads"
NEXT_PUBLIC_UPLOAD_DIRECTORY: "/uploads"
volumes:
- postiz-config:/config/
- postiz-uploads:/uploads/
ports:
- 5000:5000
networks:
- postiz-network
depends_on:
- postiz-postgres
- postiz-redis
postiz-postgres:
image: postgres:17-alpine
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
networks:
- postiz-network
postiz-redis:
image: redis:7.2
container_name: postiz-redis
restart: always
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
86 replies
PPostiz
•Created by Support on 11/15/2024 in #ðŸ’│community-support-tickets
Ticket: Self-Hosted Postiz Account Login Issue
For simplicities sake, I'll just use ip. Here is my new docker-compose file:
86 replies
PPostiz
•Created by Support on 11/15/2024 in #ðŸ’│community-support-tickets
Ticket: Self-Hosted Postiz Account Login Issue
alright, trying now.
86 replies
PPostiz
•Created by Support on 11/15/2024 in #ðŸ’│community-support-tickets
Ticket: Self-Hosted Postiz Account Login Issue
Ok, so I'll set it up through https, then will still be able to access it through the ip:port url
86 replies
PPostiz
•Created by Support on 11/15/2024 in #ðŸ’│community-support-tickets
Ticket: Self-Hosted Postiz Account Login Issue
Hmm, since this is running on my synology, and I'll need to access it from my mac, I'll need to set it up via https on a subdomain instead. Is that correct?
86 replies
PPostiz
•Created by Support on 11/15/2024 in #ðŸ’│community-support-tickets
Ticket: Self-Hosted Postiz Account Login Issue
Is it as simple as updating the compose file to this?
version: "3.8"
services:
postiz:
image: ghcr.io/gitroomhq/postiz-app:latest
container_name: postiz
restart: always
environment:
MAIN_URL: "http://localhost:5000"
FRONTEND_URL: "http://localhost:5000"
NEXT_PUBLIC_BACKEND_URL: "http://localhost:5000/api"
JWT_SECRET: "J8K#mP9$vL2@nQ5^wR7*hX3&fY4%tZ6!cN1"
DATABASE_URL: "postgresql://postiz-user:postiz-password@postiz-postgres:5432/postiz-db-local"
REDIS_URL: "redis://postiz-redis:6379"
BACKEND_INTERNAL_URL: "http://localhost:3000"
IS_GENERAL: "true"
STORAGE_PROVIDER: "local"
UPLOAD_DIRECTORY: "/uploads"
NEXT_PUBLIC_UPLOAD_DIRECTORY: "/uploads"
volumes:
- postiz-config:/config/
- postiz-uploads:/uploads/
ports:
- 5000:5000
networks:
- postiz-network
depends_on:
- postiz-postgres
- postiz-redis
postiz-postgres:
image: postgres:17-alpine
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
networks:
- postiz-network
postiz-redis:
image: redis:7.2
container_name: postiz-redis
restart: always
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
86 replies