GeoNode / geonode-docker

Django base images for GeoNode
Other
9 stars 33 forks source link

too many env overriding #4

Closed cezio closed 10 months ago

cezio commented 6 years ago

Geonode's settings expects ALLOWED_HOSTS env variable to be provided when deploying with docker-compose. This variable can come from several places:

However, none of those places will actually be in use, when using compose, because in the end it will be overriden by https://github.com/GeoNode/geonode-docker/blob/master/tasks.py#L40

We should check if variables are defined in env first, then change it to such defaults.