bodhi: try running gunicorn in stg

Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
Clement Verna 2020-05-28 10:20:59 +02:00
parent efaf7bc76c
commit 9347596a29
2 changed files with 5 additions and 0 deletions

View file

@ -59,7 +59,11 @@ items:
- name: bodhi-web - name: bodhi-web
image: bodhi-base:latest image: bodhi-base:latest
command: ["bash"] command: ["bash"]
{% if env == "staging" %}
args: ["gunicorn", "--paste", "/etc/bodhi/production.ini"]
{% else %}
args: ["/etc/bodhi/start.sh"] args: ["/etc/bodhi/start.sh"]
{% endif %}
ports: ports:
- containerPort: 8080 - containerPort: 8080
resources: {} resources: {}

View file

@ -44,6 +44,7 @@ RUN dnf install -y \
python3-koji \ python3-koji \
python3-librepo \ python3-librepo \
python3-mod_wsgi \ python3-mod_wsgi \
python3-gunicorn \
koji && \ koji && \
dnf clean all dnf clean all