testdays: few tweaks on how the project gets started

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2020-10-02 10:32:33 +02:00
parent b388f33ee4
commit 79cbd3c411

View file

@ -22,9 +22,9 @@ spec:
containers: containers:
- name: testdays - name: testdays
image: testdays:latest image: testdays:latest
command: ["container_start.sh", "runserver"] command: ["/opt/app-root/src/container_start.sh", "runserver"]
ports: ports:
- containerPort: 8080 - containerPort: 80
resources: {} resources: {}
env: env:
- name: POSTGRESQL_USER - name: POSTGRESQL_USER
@ -46,13 +46,13 @@ spec:
initialDelaySeconds: 5 initialDelaySeconds: 5
httpGet: httpGet:
path: / path: /
port: 8080 port: 80
livenessProbe: livenessProbe:
timeoutSeconds: 1 timeoutSeconds: 1
initialDelaySeconds: 30 initialDelaySeconds: 30
httpGet: httpGet:
path: / path: /
port: 8080 port: 80
triggers: triggers:
- type: ConfigChange - type: ConfigChange