Hi!
I installed graylog 3.1 in a container with docker images. I followed the documentation on the officiel docker page for graylog, the container are starting and flagged as healthy but when I access the web page it just turns and turns and gives me a blank page.
Any help would be appreciated!!!
Here is my docker-compose.yml file I used and customized:
version: ‘2’
services:
graylog3_mongodb:
image: mongo:3
volumes:
- graylog3_mongo_data:/graylog3_space/db
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.8.2
volumes:
- graylog3_es_data:/usr/share/elasticsearch/data
environment:
- http.host=0.0.0.0
- transport.host=localhost
- network.host=0.0.0.0
- “ES_JAVA_OPTS=-Xms512m -Xmx1024m”
ulimits:
memlock:
soft: -1
hard: -1
mem_limit: 2g
graylog3:
image: graylog/graylog:3.1
volumes:
- graylog3_journal:/usr/share/graylog/data/journal
environment:
- GRAYLOG_PASSWORD_SECRET=SOMESECRETPASSWORDIWANTTOKEEPSECRET
- GRAYLOG_ROOT_PASSWORD_SHA2=SOMESHA2PASSWORDIWANTTOKEEPSECRET
- GRAYLOG_WEB_ENDPOINT_URI=http://127.0.0.1:9000/api/
- GRAYLOG_WEB_LISTEN_URI=http://127.0.0.1:9000/
- GRAYLOG_REST_LISTEN_URI=http://127.0.0.1:9000/api/
- GRAYLOG_ELASTICSEARCH_HOSTS=http://elasticsearch:9200/
links:
- graylog3_mongodb:mongo
- elasticsearch
depends_on:
- graylog3_mongodb
- elasticsearch
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:
graylog3_mongo_data:
driver: local
graylog3_es_data:
driver: local
graylog3_journal:
driver: local