Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Docker) compose support #23

Open
avra911 opened this issue May 3, 2023 · 4 comments
Open

(Docker) compose support #23

avra911 opened this issue May 3, 2023 · 4 comments
Labels
good first issue Good for newcomers

Comments

@avra911
Copy link

avra911 commented May 3, 2023

Docker compose support

Docker Compose is a tool that is useful for managing and orchestrating multi-container Docker applications. It allows you to define your application’s services, networks, and volumes in a YAML file and then run and scale the entire application with a single command.

@avra911 avra911 changed the title Add (docker) compose (docker) compose support May 3, 2023
@avra911 avra911 changed the title (docker) compose support (Docker) compose support May 3, 2023
@alexpunct
Copy link
Owner

you don't really need Docker compose. If you want to run Supabase locally, they have a Docker compose with all the services. Or you can use their cloud hosted free service. You only need to run the application

@avra911
Copy link
Author

avra911 commented May 3, 2023

you don't really need Docker compose. If you want to run Supabase locally, they have a Docker compose with all the services. Or you can use their cloud hosted free service. You only need to run the application

I prefer to have every application in docker, is easier for onboarding anyone from any operating system. For example I dont have npm installed in my system and to deal with different tag/versions locally. What if this projects uses npm 1 and my older project uses 0.0.1. Do I have to dig the internet on how to switch virtual envs in local depending on my operating system? If I move to windows during the weekends, I should start all over without a docker receipt to ship and run?

I disagree that you don't really need. I really need it.

@alexpunct
Copy link
Owner

You are right, I meant the docker compose for the whole setup. But for running the app itself, a Dockerfile would be nice indeed. Feel free to send a PR. And if you want to send a docker-compose that includes Supabase too, that would be even better :)

@alexpunct alexpunct added the good first issue Good for newcomers label May 3, 2023
@avra911
Copy link
Author

avra911 commented May 3, 2023

Thanks.

I actually searched if you can run in linux npm 0.0.1 alongside with 1.0.0 and I found a way to switch but have not find a way to use both for 2 different apps to run on the same time. That is where docker is useful, because I dont even need to know which version the app uses for most of the tasks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants