Skip to content

Commit

Permalink
docker mem limit
Browse files Browse the repository at this point in the history
  • Loading branch information
atsapura committed Jun 18, 2019
1 parent 3e20830 commit 10c7bfd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docker/docker-compose.yml
@@ -1,4 +1,4 @@
version: '3.1'
version: '2.1'

services:

Expand All @@ -10,6 +10,7 @@ services:
MONGO_INITDB_ROOT_PASSWORD: example
ports:
- 27017:27017
mem_limit: 200m

mongo-express:
image: mongo-express
Expand All @@ -20,4 +21,5 @@ services:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: example
depends_on:
- mongo
- mongo
mem_limit: 200m

0 comments on commit 10c7bfd

Please sign in to comment.