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 USER root
RUN useradd -ms /bin/bash tsuser RUN useradd -ms /bin/bash tsuser
RUN dnf -y update && \ 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 dnf clean all
RUN mkdir /workspace RUN mkdir /workspace
ENV PYTHONUNBUFFERED 1 ENV PYTHONUNBUFFERED 1

View file

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

View file

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