bodhi: try running gunicorn in stg
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
efaf7bc76c
commit
9347596a29
2 changed files with 5 additions and 0 deletions
|
@ -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: {}
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue