Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Commit

Permalink
by default set memory reservation to equal the memory limit
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroenpeeters committed Feb 23, 2018
1 parent 43fe8bc commit cb9b0b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coffee/compose.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ module.exports = (config) ->
limits:
memory: '1G'
reservations:
memory: '1G'
memory: _.get(service, 'deploy.resources.limits.memory', '1G')
service.deploy = _.merge {},
mode: 'replicated'
endpoint_mode: 'dnsrr'
Expand Down

0 comments on commit cb9b0b9

Please sign in to comment.