Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile-base
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.fedoraproject.org/fedora:38
FROM registry.fedoraproject.org/fedora:39

ARG version=latest
# For mod_wsgi to store socket file.
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-web
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN mkdir bootstrap ${wsgi_dir} && \
# This seems useless since the parent image already sets it as WORKDIR
WORKDIR /project

COPY product.py ./venv/lib64/python3.11/site-packages/tcms/settings/product.py
COPY product.py ./venv/lib64/python3.12/site-packages/tcms/settings/product.py
COPY httpd.conf /etc/httpd/conf/httpd.conf
COPY entrypoint.sh .
RUN chmod 755 entrypoint.sh
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-worker
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM ${ns}/base:${version}
LABEL org.opencontainers.image.description="Nitrate worker image to run asynchronous tasks."

WORKDIR /project
COPY product.py ./venv/lib64/python3.11/site-packages/tcms/settings/product.py
COPY product.py ./venv/lib64/python3.12/site-packages/tcms/settings/product.py

VOLUME ["/project/uploads"]
CMD ["/project/venv/bin/celery", "-A", "tcms", "worker", "-l", "INFO"]
2 changes: 1 addition & 1 deletion httpd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ MaxRequestsPerChild 0
WSGIDaemonProcess nitrate python-path=/project/nitrate-config python-home=/project/venv
WSGIProcessGroup nitrate
WSGIApplicationGroup %{GLOBAL}
WSGIScriptAlias / /project/venv/lib/python3.11/site-packages/tcms/wsgi.py
WSGIScriptAlias / /project/venv/lib/python3.12/site-packages/tcms/wsgi.py
WSGISocketPrefix /var/run/wsgi/nitrate-wsgi

<Location "/">
Expand Down