Skip to content

Commit

Permalink
fix(build): add deploy / cap_add limits back
Browse files Browse the repository at this point in the history
  • Loading branch information
alee committed Nov 1, 2023
1 parent 50f2845 commit f0ad1a7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ services:
- node.name=es01
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
deploy:
resources:
limits:
memory: 1g
cap_add:
- IPC_LOCK
ulimits:
memlock:
soft: -1
Expand Down

0 comments on commit f0ad1a7

Please sign in to comment.