Skip to content

Commit

Permalink
Add statsd plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvain-morin authored and sylvain-morin committed Jan 9, 2024
1 parent 5b7a4f5 commit d2dd6dd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ WORKDIR /home/inaturalist/vision
COPY --chown=inaturalist:inaturalist ./requirements-production.txt /home/inaturalist/vision/requirements.txt

# install dependencies
RUN pip install -r requirements.txt
RUN UWSGI_EMBED_PLUGINS=stats_pusher_statsd pip install -r requirements.txt

# Copy app and libs
COPY --chown=inaturalist:inaturalist app.py /home/inaturalist/vision
Expand Down
1 change: 0 additions & 1 deletion docker/uwsgi.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ protocol = uwsgi
callable = app
chmod-socket = 777
socket= :8888
#socket = /home/inaturalist/vision/uwsgi/socket
master = true
lazy-apps = true
processes = 1
Expand Down

0 comments on commit d2dd6dd

Please sign in to comment.