Skip to content

Commit

Permalink
reverted docker-compose
Browse files Browse the repository at this point in the history
Reverted the docker-compose from #40 to work with non docker-swarm setups
  • Loading branch information
jalogisch committed Oct 9, 2018
1 parent 9dbc707 commit 0c62063
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ In this case you can login to Graylog with the user and password `admin`. Gener
This all can be put in a `docker-compose` file, like:

```
version: '3'
version: '2'
services:
# MongoDB: https://hub.docker.com/_/mongo/
mongo:
Expand All @@ -73,14 +73,11 @@ services:
# Disable X-Pack security: https://www.elastic.co/guide/en/elasticsearch/reference/5.5/security-settings.html#general-security-settings
- xpack.security.enabled=false
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
deploy:
resources:
limits:
memory: 1G
ulimits:
memlock:
soft: -1
hard: -1
mem_limit: 1g
# Graylog: https://hub.docker.com/r/graylog/graylog/
graylog:
image: graylog/graylog:2.4
Expand Down

0 comments on commit 0c62063

Please sign in to comment.