Hi,

I'm running Graylog using docker and run all 3 containers for Graylog 
(Graylog, MongoDB, ElasticSearch) using Docker Compose. Here is my .yml file

version: '2'
services:
  mongo:
    restart: always
    image: "mongo:3"
    volumes:
      - /volumes/docker/graylog/data/mongo:/data/db
  elasticsearch:
    restart: always
    image: "elasticsearch:2"
    command: "elasticsearch -Des.cluster.name='graylog'"
    volumes:
      - /graylog/data/elasticsearch:/usr/share/elasticsearch/data
  graylog2:
    restart: always
    image: graylog2/server:latest
    volumes:
      - /volumes/docker/graylog/data/journal:/usr/share/graylog/data/journal
      - /volumes/docker/graylog/config:/usr/share/graylog/data/config
    environment:
      GRAYLOG_PASSWORD_SECRET: **Password**
      GRAYLOG_ROOT_PASSWORD_SHA2: **Hash**
      GRAYLOG_WEB_ENDPOINT_URI: http://192.168.1.10:9000/api
      GRAYLOG_TRANSPORT_EMAIL_ENABLED: "true"
      GRAYLOG_TRANSPORT_EMAIL_HOSTNAME: mymailserver.mydomain.com
      GRAYLOG_TRANSPORT_EMAIL_PORT: 25
      GRAYLOG_TRANSPORT_EMAIL_USE_AUTH: "false"
      GRAYLOG_TRANSPORT_EMAIL_USE_TLS: "false"
      GRAYLOG_TRANSPORT_EMAIL_USE_SSL: "false"
      GRAYLOG_TRANSPORT_EMAIL_FROM_EMAIL: gray...@mydomain.com
    links:
      - mongo:mongo
      - elasticsearch:elasticsearch
    ports:
      - "9000:9000"
      - "12201/udp:12201/udp"
      - "1514/udp:1514/udp"

The containers come up perfectly but not all the environment variables are 
set. I get emails from streams fine but they come from 
'gray...@example.com' and not my domain

I've tried adjust the config from the persistent mount /volumes/docker/
graylog/config/graylog.conf

but they don't make an impact. It seems unusual that it would take in some 
of the variables (such as the mail server) but not the FROM_EMAIL variable. 
I've also tried this with graylog2/server:2-1-1

Anyone seen this before?

Docker version 1.12.3, build 6b644ec

Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial

Kernel
4.4.0-57-generic

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to graylog2+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/7af3cba9-c12b-4dbe-b553-548c7440ac29%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to