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
image: bodhi-base:latest
command: ["bash"]
{% if env == "staging" %}
args: ["gunicorn", "--paste", "/etc/bodhi/production.ini"]
{% else %}
args: ["/etc/bodhi/start.sh"]
{% endif %}
ports:
- containerPort: 8080
resources: {}

View file

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