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

Make "scalable" the default setup? #59

Open
abulte opened this issue Jun 7, 2018 · 3 comments
Open

Make "scalable" the default setup? #59

abulte opened this issue Jun 7, 2018 · 3 comments

Comments

@abulte
Copy link
Contributor

abulte commented Jun 7, 2018

Why not use a dedicated service for the worker? It would allow us to bypass some uwsgi complexity and mirror more closely our production setup.

@abulte
Copy link
Contributor Author

abulte commented Jun 7, 2018

My bad, this is already available in https://github.com/opendatateam/docker-udata/blob/master/samples/scalable/docker-compose.yml. Maybe this should be the default setup? It fail to see the definitive advantage of the "simple" configuration since the complexity of the setup is abstracted by docker-compose.

@abulte abulte changed the title Use a dedicated service for worker Make "scalable" the default setup? Jun 7, 2018
@abulte
Copy link
Contributor Author

abulte commented Jun 7, 2018

Using one less setup would also reduce maintenance overhead.

@noirbizarre
Copy link
Contributor

The default root setup is simple and should stay like it. It's meant for development purpose on this docker image.
Those extra configurations are samples (peopleasked for it) for quick testing but this repository is not meant to be cloned for production or demo purpose.
The scalable setup adds a lot of complexity (which is undesired for developoment) and most of the time you will need some more configuration to match your needs.

Anyway, we can add some details in the readme to test the scalable setup, something like:

curl https://raw.githubusercontent.com/opendatateam/docker-udata/master/samples/scalable/docker-compose.yml > docker-compose.yml
docker-compose up 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants