Browse Source

add allowed_hosts env var for django

pull/65/head
Ben Parees 9 years ago
parent
commit
080ea9203d
3 changed files with 13 additions and 1 deletions
  1. +4
    -0
      openshift/templates/django-postgresql-persistent.json
  2. +4
    -0
      openshift/templates/django-postgresql.json
  3. +5
    -1
      openshift/templates/django.json

+ 4
- 0
openshift/templates/django-postgresql-persistent.json View File

@ -217,6 +217,10 @@
{
"name": "DJANGO_SECRET_KEY",
"value": "${DJANGO_SECRET_KEY}"
},
{
"name": "ALLOWED_HOSTS",
"value": "['*']"
}
],
"resources": {


+ 4
- 0
openshift/templates/django-postgresql.json View File

@ -217,6 +217,10 @@
{
"name": "DJANGO_SECRET_KEY",
"value": "${DJANGO_SECRET_KEY}"
},
{
"name": "ALLOWED_HOSTS",
"value": "['*']"
}
],
"resources": {


+ 5
- 1
openshift/templates/django.json View File

@ -216,7 +216,11 @@
{
"name": "DJANGO_SECRET_KEY",
"value": "${DJANGO_SECRET_KEY}"
}
},
{
"name": "ALLOWED_HOSTS",
"value": "['*']"
}
],
"resources": {
"limits": {


Loading…
Cancel
Save