Skip to content

Commit

Permalink
add soft ulimits for number of files open in docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
jpswinski committed Oct 16, 2023
1 parent fdc10a7 commit 9fd8f5a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions targets/slideruleearth-aws/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ services:
entrypoint: /usr/local/bin/sliderule /usr/local/etc/sliderule/server.lua /usr/local/etc/sliderule/config.json
stdin_open: true # docker run -i
tty: true # docker run -t
ulimits:
nofile:
soft: "8192"
volumes:
- /etc/ssl/certs:/etc/ssl/certs
- /data:/data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ services:
entrypoint: /usr/local/bin/sliderule /usr/local/etc/sliderule/server.lua /usr/local/etc/sliderule/config.json
stdin_open: true # docker run -i
tty: true # docker run -t
ulimits:
nofile:
soft: "8192"
volumes:
- /etc/ssl/certs:/etc/ssl/certs
- /data:/data
Expand Down

0 comments on commit 9fd8f5a

Please sign in to comment.