Skip to content

Commit

Permalink
Updated Stack file
Browse files Browse the repository at this point in the history
  • Loading branch information
maxyermayank committed Aug 18, 2018
1 parent 6d04721 commit ccbcf4f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,36 @@ services:
window: 120s
update_config:
order: stop-first
mongo:
image: mongo:3
volumes:
- mongo_data:/data/db
ulimits:
nproc: 65535
networks:
- devops
ports:
- target: 27017
published: 27017
mode: host
deploy:
# resources:
# reservations:
# cpus: '.25'
# memory: 256M
restart_policy:
condition: on-failure
delay: 5s
max_attempts: 3
window: 120s
update_config:
order: stop-first

volumes:
consul_files:
consul_agent_files:
vault_logs:
mongo_data:

networks:
devops:

0 comments on commit ccbcf4f

Please sign in to comment.