This commit is contained in:
Stephen Smoogen 2018-11-27 17:17:11 +00:00
parent 9c48843b9e
commit a50bf6c3c2
3 changed files with 4 additions and 8 deletions

View file

@ -12,7 +12,7 @@ spec:
USER root
RUN useradd -ms /bin/bash tsuser
RUN dnf -y update && \
dnf -y install git make cpio koji patch && \
dnf -y install git make cpio koji file patch intltool libtool gtk3-devel && \
dnf clean all
RUN mkdir /workspace
ENV PYTHONUNBUFFERED 1

View file

@ -1,4 +1,4 @@
wo
apiVersion: v1
kind: DeploymentConfig
metadata:
@ -23,6 +23,8 @@ spec:
ports:
- containerPort: 8080
env:
- name: GUNICORN_CMD_ARGS
value: "--workers 3 --bind 0.0.0.0:8080 --timeout 300"
- name: DATABASE_ENGINE
value: postgresql
- name: DATABASE_NAME
@ -45,11 +47,6 @@ spec:
secretKeyRef:
name: transtats-secret
key: database-password
- name: INITIAL_DATA_FILE_PATH
valueFrom:
secretKeyRef:
name: transtats-secret
key: initial-data-file-path
readinessProbe:
timeoutSeconds: 1
initialDelaySeconds: 5

View file

@ -11,7 +11,6 @@ stringData:
django-secret-key: "{{transtats_stg_django_secret_key}}"
database-name: "transtats"
database-password: "{{transtats_stg_database_password}}"
initial-data-file-path: "/workspace/deploy/docker-compose/transtats/initialdata.yaml"
oidc-client-secret: ""
database-host: db01.stg.phx2.fedoraproject.org
database-user: transtats