set the settings variable before starting the docker container

When you first set the variable for the local settings file it will overwrite
the settings required for the docker container. Therefore I'm setting them
explicitly in the Makefile. Shouldn't be a problem on a production system.
This commit is contained in:
Andreas Zweili 2020-06-08 17:00:16 +02:00
parent c1abc5a09f
commit b99aedce54
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@ SHELL=/bin/bash
.PHONY: docker
docker:
export DJANGO_SETTINGS_MODULE=network_inventory.settings.docker; \
docker-compose up
test: