update docker compose

This commit is contained in:
Marcelo 2022-01-31 23:04:45 +00:00
parent e5c03c43d4
commit bcc7d41cea

View File

@ -2,11 +2,13 @@ version: '3'
services: services:
# MongoDB: https://hub.docker.com/_/mongo/ # MongoDB: https://hub.docker.com/_/mongo/
mongo: mongo:
container_name: mongo
image: mongo:4.2 image: mongo:4.2
networks: networks:
- graylog - graylog
# Elasticsearch: https://www.elastic.co/guide/en/elasticsearch/reference/7.10/docker.html # Elasticsearch: https://www.elastic.co/guide/en/elasticsearch/reference/7.10/docker.html
elasticsearch: elasticsearch:
container_name: elastic
image: docker.elastic.co/elasticsearch/elasticsearch-oss:7.10.2 image: docker.elastic.co/elasticsearch/elasticsearch-oss:7.10.2
environment: environment:
- http.host=0.0.0.0 - http.host=0.0.0.0
@ -25,7 +27,9 @@ services:
- graylog - graylog
# Graylog: https://hub.docker.com/r/graylog/graylog/ # Graylog: https://hub.docker.com/r/graylog/graylog/
graylog: graylog:
image: graylog/graylog:4.2 container_name: graylog
# use jre image, beacuse it is arm compatible
image: graylog/graylog:4.2-jre11
environment: environment:
# CHANGE ME (must be at least 16 characters)! # CHANGE ME (must be at least 16 characters)!
- GRAYLOG_PASSWORD_SECRET=somepasswordpepper - GRAYLOG_PASSWORD_SECRET=somepasswordpepper