Ticket: Docker Setup Folder Structure Guidance Needed
@Moriarte Just created a ticket
Question: What folders do I need in my Docker setup for this to work?
Attempted: I've tried reading the docker compose yaml but i'm still a novice at Docker and don't know exactly how to discern which folders it requires.
Working On: I'm not sure what to put here, I'm working on Postiz?
Using Postiz On: currently using Synology Container Manager and Portainer
Take it from here @Postiz
Question: What folders do I need in my Docker setup for this to work?
Attempted: I've tried reading the docker compose yaml but i'm still a novice at Docker and don't know exactly how to discern which folders it requires.
Working On: I'm not sure what to put here, I'm working on Postiz?
Using Postiz On: currently using Synology Container Manager and Portainer
Take it from here @Postiz
7 Replies
I picked "agency owner" because you don't have an option in your discord setup for "Business owner".
Heya @Moriarte
Is your name from Sherlock Holmes? π
When you deploy Postiz from the docker compose, it should create two volumes for you - postiz-config and postiz-uploads
Yeah, it's slightly altered but I do enjoy the moniker. π
Synology typically wants the folders to be pre-created so that's where my confusion was.
I'll see if running the yaml file in portainer just does it automatically. Synologys are weird about docker.
hehe
You can use a direct path to a folder, like:
However the default compose config uses container volumes, not directories directly
I'm pretty sure synology could auto-create those two docker volums for you
Hmm....portainer keeps failing when just running the compose file
Something about a bind address already in use but none of my containers use 5432
Ah yeah, Synology uses that already for Postgres
It's safe to remove this from your compose file;
The public docs should have already removed that
Hey, thanks. I'll give that a try today.
Okay, the new Docker Compose file in the guide seems to have allowed me to deploy the stack now but it won't let me sign in with google or let me create and account.
"General error : TypeError : Failed to fetch. Please check your browser console."
I feel like maybe I did something wrong with the URLs.
Google sign in button gives a console error of 405 : Method not allowed
This seems to also happen with creating an account manually.
The console is also throwing a CORS policy error but I'm not sure what that means.