Skip to content

Commit

Permalink
Merge pull request #269 from Cray-HPE/CASMCMS-8947
Browse files Browse the repository at this point in the history
CASMCMS-8947: Adjust uWSGI configuration to avoid plugin errors
  • Loading branch information
mharding-hpe authored Mar 15, 2024
2 parents eb7e89f + e4249e6 commit 0156da7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.16.0] - 2024-03-15
### Changed
- Install uWSGI using `apk` instead of `pip`; update uWSGI config file to point to Python virtualenv

## [2.15.4] - 2024-03-12
### Fixed
- Update base operator to handle case where all nodes to act on have exceeded their retry limit
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ CMD [ "./docker_api_test_entry.sh" ]
FROM base as intermediate
WORKDIR /app
EXPOSE 9000
RUN pip3 install --no-cache-dir uWSGI
RUN apk add --no-cache uwsgi uwsgi-python3
COPY config/uwsgi.ini ./
ENTRYPOINT ["uwsgi", "--ini", "/app/uwsgi.ini"]

Expand Down
1 change: 1 addition & 0 deletions config/uwsgi.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ module=bos.server.__main__
callable=app
processes=8
threads=16
virtualenv=/app/venv

0 comments on commit 0156da7

Please sign in to comment.