Hi all,
Have been trying to setup a simple graylog setup in AWS Docker Swarm but to no avail.
Am constantly getting a “Err_Connection_Refused” from http:<my_aws_lb_endpoint>:9000
Any advice will be greatly appreciated.
below is my docker-compose file
version: '3.4'
services:
mongo:
image: mongo:3
volumes:
- mongo_store:/data/db
networks:
- graylog_network
graylog:
image: graylog/graylog:3.1
environment:
# CHANGE ME (must be at least 16 characters)!
- GRAYLOG_PASSWORD_SECRET=somepasswordpepper
# Password: admin
- GRAYLOG_ROOT_PASSWORD_SHA2=8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918
- GRAYLOG_HTTP_BIND_ADDRESS=0.0.0.0:9000
# Elastic Settings
- GRAYLOG_ELASTICSEARCH_HOSTS=https://<my_aws_elasticsearch_service>.es.amazonaws.com/
#- GRAYLOG_ELASTICSEARCH_COMPRESSION_ENABLED=true
depends_on:
- mongo
networks:
- graylog_network
ports:
# Graylog web interface and REST API
- 9000:9000
# Syslog TCP
- 1514:1514
# Syslog UDP
- 1514:1514/udp
# GELF TCP
- 12201:12201
# GELF UDP
- 12201:12201/udp
volumes:
graylog_journal:
external: true
networks:
mongo_store:
external: true