Skip to content

Commit

Permalink
Limited memory for dev
Browse files Browse the repository at this point in the history
  • Loading branch information
fbanados committed Jul 26, 2024
1 parent 4000923 commit 6c2e262
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ services:
hostname: crkeng-dev-container
image: ghcr.io/ualbertaaltlab/itwewina.altlab.app:dev
command: /app/app.sh crkeng
memory: 2048m
ports:
- "8211:8000" # http
- "9211:9191" # uWSGI stats
Expand Down
3 changes: 3 additions & 0 deletions src/morphodict/site/uwsgi.ini
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,6 @@ hook-post-app = print:Application loaded!
# Since 'echo' is evaluated in a shell spawned by the worker, to get the
# worker PID, we get the shell's parent pid: $PPID:
hook-accepting-once = exec:echo uWSGI worker ready to accept requests! pid: $PPID

# To know how much ram we are using
memory-report = true

0 comments on commit 6c2e262

Please sign in to comment.