Why are there multiple Dockerfiles?

I'm curious as to why there are multiple Dockerfiles seen inside the twenty-docker folder. twenty/Dockerfile twenty-postgres/Dockerfile twenty-postgres-splio/Dockerfile twenty-website/Dockerfile I'm assuming that this might be different services that are interconnected with each other to run the twenty app. But I only find four. When looking at docker-compose.yml, it's supposed to run 6 containers, right? Are these images and compose related? What are they?
No description
3 Replies
ɃØĦɆᵾS
ɃØĦɆᵾS3d ago
Because all Dockerfiles are for different purpose: - twenty is for self-hosting in Docker (only using, not contributing) - twenty-postgres and twenty-postgres-spilo are for database (although I'm not sure what exact differences are between these two images) - twenty-website is for website and it's completely unrelated from other docker-compose.yml is the file you obtain when following 1-click Docker Compose guide from documentation
Raphael
Raphael3d ago
Ahh, I see. From what I'm reading, only twenty is the useful one here? I'm also looking at Docker Compose to see where the images are coming from because I'm having trouble with 1 click docker compose. I think the twenty-server is having problems Do you know where I'd be able to see the Dockerfiles for the images for these containers? This is from 1 click docker compose
No description
Want results from more Discord servers?
Add your server