ceLL
ceLL
PPostiz
Created by Support on 10/11/2024 in #💭│community-support-tickets
Ticket: CORS Error on Localhost During Docker Deployment
This can be closed for now. Thank you
67 replies
PPostiz
Created by Support on 10/11/2024 in #💭│community-support-tickets
Ticket: CORS Error on Localhost During Docker Deployment
or just the id and secret and it's fine
67 replies
PPostiz
Created by Support on 10/11/2024 in #💭│community-support-tickets
Ticket: CORS Error on Localhost During Docker Deployment
does it needs to have any other config files ?
67 replies
PPostiz
Created by Support on 10/11/2024 in #💭│community-support-tickets
Ticket: CORS Error on Localhost During Docker Deployment
in .env i belive i need to set my api keys for everything
67 replies
PPostiz
Created by Support on 10/11/2024 in #💭│community-support-tickets
Ticket: CORS Error on Localhost During Docker Deployment
So probably now it works
67 replies
PPostiz
Created by Support on 10/11/2024 in #💭│community-support-tickets
Ticket: CORS Error on Localhost During Docker Deployment
No description
67 replies
PPostiz
Created by Support on 10/11/2024 in #💭│community-support-tickets
Ticket: CORS Error on Localhost During Docker Deployment
environment:
# You must change these. Replace `postiz.your-server.com` with your DNS name - what your web browser sees.
MAIN_URL: "http://localhost:5000"
FRONTEND_URL: "http://localhost:5000"
NEXT_PUBLIC_BACKEND_URL: "http://localhost:5000/api"
JWT_SECRET: "gsdfgetgwegfasfasfasdasdwqdwqdsa"
# These defaults are probably fine, but if you change your user/password, update it in the
# postiz-postgres or postiz-redis services below.
DATABASE_URL: "postgresql://postiz-user:postiz-password@postiz-postgres:5432/postiz-db-local"
REDIS_URL: "redis://postiz-redis:6379"
BACKEND_INTERNAL_URL: "http://localhost:5000/api"
IS_GENERAL: "true" # Required for self-hosting.
# The container images are pre-configured to use /uploads for file storage.
# You probably should not change this unless you have a really good reason!
STORAGE_PROVIDER: "local"
UPLOAD_DIRECTORY: "/uploads"
NEXT_PUBLIC_UPLOAD_DIRECTORY: "/uploads"
environment:
# You must change these. Replace `postiz.your-server.com` with your DNS name - what your web browser sees.
MAIN_URL: "http://localhost:5000"
FRONTEND_URL: "http://localhost:5000"
NEXT_PUBLIC_BACKEND_URL: "http://localhost:5000/api"
JWT_SECRET: "gsdfgetgwegfasfasfasdasdwqdwqdsa"
# These defaults are probably fine, but if you change your user/password, update it in the
# postiz-postgres or postiz-redis services below.
DATABASE_URL: "postgresql://postiz-user:postiz-password@postiz-postgres:5432/postiz-db-local"
REDIS_URL: "redis://postiz-redis:6379"
BACKEND_INTERNAL_URL: "http://localhost:5000/api"
IS_GENERAL: "true" # Required for self-hosting.
# The container images are pre-configured to use /uploads for file storage.
# You probably should not change this unless you have a really good reason!
STORAGE_PROVIDER: "local"
UPLOAD_DIRECTORY: "/uploads"
NEXT_PUBLIC_UPLOAD_DIRECTORY: "/uploads"
67 replies
PPostiz
Created by Support on 10/11/2024 in #💭│community-support-tickets
Ticket: CORS Error on Localhost During Docker Deployment
Main url should point to http://localhost:5000/ ?
67 replies
PPostiz
Created by Support on 10/11/2024 in #💭│community-support-tickets
Ticket: CORS Error on Localhost During Docker Deployment
you mean these ones?
MAIN_URL: "https://postiz.your-server.com"
FRONTEND_URL: "https://postiz.your-server.com"
NEXT_PUBLIC_BACKEND_URL: "https://postiz.your-server.com/api"
MAIN_URL: "https://postiz.your-server.com"
FRONTEND_URL: "https://postiz.your-server.com"
NEXT_PUBLIC_BACKEND_URL: "https://postiz.your-server.com/api"
67 replies
PPostiz
Created by Support on 10/11/2024 in #💭│community-support-tickets
Ticket: CORS Error on Localhost During Docker Deployment
wanted to point to this, sorry
67 replies
PPostiz
Created by Support on 10/11/2024 in #💭│community-support-tickets
Ticket: CORS Error on Localhost During Docker Deployment
I did not find anything related to this
67 replies
PPostiz
Created by Support on 10/11/2024 in #💭│community-support-tickets
Ticket: CORS Error on Localhost During Docker Deployment
Yes
67 replies
PPostiz
Created by Support on 10/11/2024 in #💭│community-support-tickets
Ticket: CORS Error on Localhost During Docker Deployment
Does it have default credentials to be used?
67 replies
PPostiz
Created by Support on 10/11/2024 in #💭│community-support-tickets
Ticket: CORS Error on Localhost During Docker Deployment
No description
67 replies
PPostiz
Created by Support on 10/11/2024 in #💭│community-support-tickets
Ticket: CORS Error on Localhost During Docker Deployment
Now the issue is not appearing anymore
67 replies
PPostiz
Created by Support on 10/11/2024 in #💭│community-support-tickets
Ticket: CORS Error on Localhost During Docker Deployment
I did a full clean up, deleted everything from docker, and locally, did it from the beginning
67 replies
PPostiz
Created by Support on 10/11/2024 in #💭│community-support-tickets
Ticket: CORS Error on Localhost During Docker Deployment
I created a new file.
67 replies
PPostiz
Created by Support on 10/11/2024 in #💭│community-support-tickets
Ticket: CORS Error on Localhost During Docker Deployment
67 replies
PPostiz
Created by Support on 10/11/2024 in #💭│community-support-tickets
Ticket: CORS Error on Localhost During Docker Deployment
No description
67 replies
PPostiz
Created by Support on 10/11/2024 in #💭│community-support-tickets
Ticket: CORS Error on Localhost During Docker Deployment
i deleted everything, unzipped the project, created docker-compose yaml file & .env file from documentation, and run docker compose up
67 replies