Make docker-compose great again

This commit is contained in:
Vasily Zubarev
2020-02-19 11:00:22 +01:00
parent 95da927828
commit d00fc59605
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ dev-requirements: ## Install dev requirements
docker_run: ## Run dev server in docker
@python3 ./utils/wait_for_postgres.py
@python3 manage.py migrate
@python3 manage.py runserver
@python3 manage.py runserver 0.0.0.0:8000
feed_cleanup: ## Cleanup RSS feeds
@python3 ./scripts/cleanup.py

View File

@@ -10,7 +10,7 @@ DEBUG = os.getenv("DEBUG", True)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
SECRET_KEY = "wow so secret"
ALLOWED_HOSTS = ["127.0.0.1", "vas3k.ru", "infomate.club"]
ALLOWED_HOSTS = ["127.0.0.1", "0.0.0.0", "vas3k.ru", "infomate.club"]
INSTALLED_APPS = [
"django.contrib.staticfiles",