always restart mongo and elastic

This commit is contained in:
Marcelo 2022-05-28 16:44:09 +00:00
parent bcc7d41cea
commit 5f7997b7a8

View File

@ -6,6 +6,7 @@ services:
image: mongo:4.2
networks:
- graylog
restart: always
# Elasticsearch: https://www.elastic.co/guide/en/elasticsearch/reference/7.10/docker.html
elasticsearch:
container_name: elastic
@ -25,6 +26,7 @@ services:
memory: 1g
networks:
- graylog
restart: always
# Graylog: https://hub.docker.com/r/graylog/graylog/
graylog:
container_name: graylog
@ -48,6 +50,7 @@ services:
- 9000:9000
# Syslog TCP
- 1514:1514
- 514:514
# Syslog UDP
- 1514:1514/udp
# GELF TCP