Browse Source

Merge pull request #23 from bparees/param

parameterize the db image name
pull/24/head
Michal Fojtik 10 years ago
parent
commit
2a7e09f47e
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      openshift/templates/django-postgresql.json

+ 6
- 1
openshift/templates/django-postgresql.json View File

@ -249,7 +249,7 @@
"containers": [ "containers": [
{ {
"name": "postgresql", "name": "postgresql",
"image": "openshift/postgresql-92-centos7",
"image": "${POSTGRESQL_IMAGE}",
"ports": [ "ports": [
{ {
"containerPort": 5432 "containerPort": 5432
@ -327,6 +327,11 @@
"generate": "expression", "generate": "expression",
"from": "[a-zA-Z0-9]{16}" "from": "[a-zA-Z0-9]{16}"
}, },
{
"name": "POSTGRESQL_IMAGE",
"description": "Image to use for postgresql",
"value": "openshift/postgresql-92-centos7"
},
{ {
"name": "APP_CONFIG", "name": "APP_CONFIG",
"description": "Relative path to Gunicorn configuration file (optional)" "description": "Relative path to Gunicorn configuration file (optional)"


Loading…
Cancel
Save