-
Notifications
You must be signed in to change notification settings - Fork 31
Description
This repo provides a Dockerfile and docker-compose.yml for 2 separate sources and -as far as I understand- currently independent servers.
I think this is misleading. I really would have tried this if I understood there was a branch with the docker-compose but the name of the repo suggested it was the other repo's docker-compose...
I think that at a minimum the two repo should be separated so that it's clear before opening the repo what you will find inside. In fact not even the readme suggests there is a docker-compose for djankiserv.
A separate issue is the fact that Dockerfile and docker-compose.yml should or not be kept together with the sources. For the repo I administer I normally keep Dockerfile with the code so that an image is created by gitlab on commit and separately I have a Dockerfile that normally is much more dependent on how you decide to deploy (Anton suggested in fact to use microk8s that is probably a very good idea).
Since the docker can be done in many ways (uwsgi in single docker rather than gunicorn with separate static docker, mysql or postgresql, ...) we could just as well decide to go with different repositories, but if we agree on one docker we probably don't need to have so many options.