parameterize the db image name
This commit is contained in:
parent
a51feaedf6
commit
b5f15113d7
1 changed files with 6 additions and 1 deletions
|
@ -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…
Reference in a new issue