From 79cbd3c411f23739f63fe1d6d5c98d67d95b72a4 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Fri, 2 Oct 2020 10:32:33 +0200 Subject: [PATCH] testdays: few tweaks on how the project gets started Signed-off-by: Pierre-Yves Chibon --- .../testdays/templates/deploymentconfig.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/openshift-apps/testdays/templates/deploymentconfig.yml b/roles/openshift-apps/testdays/templates/deploymentconfig.yml index 3a776d9334..abdfe8a4f6 100644 --- a/roles/openshift-apps/testdays/templates/deploymentconfig.yml +++ b/roles/openshift-apps/testdays/templates/deploymentconfig.yml @@ -22,9 +22,9 @@ spec: containers: - name: testdays image: testdays:latest - command: ["container_start.sh", "runserver"] + command: ["/opt/app-root/src/container_start.sh", "runserver"] ports: - - containerPort: 8080 + - containerPort: 80 resources: {} env: - name: POSTGRESQL_USER @@ -46,13 +46,13 @@ spec: initialDelaySeconds: 5 httpGet: path: / - port: 8080 + port: 80 livenessProbe: timeoutSeconds: 1 initialDelaySeconds: 30 httpGet: path: / - port: 8080 + port: 80 triggers: - type: ConfigChange