MISP / x_old_misp_docker

MISP Docker (XME edition)
283 stars 168 forks source link

Question about environment variables #120

Open CodingFree opened 3 years ago

CodingFree commented 3 years ago

Hello,

I'm trying to run MISP as a Docker image and most of the tutorials that I have been following do not explain these variables:

MISP_ADMIN_EMAIL=admin@admin.test
MISP_ADMIN_PASSPHRASE=admin
MISP_BASEURL=localhost

POSTFIX_RELAY_HOST=relay.fqdn
TIMEZONE=Europe/Brussels

DATA_DIR=./data

What do they actually do? If I wanted to publish MISP on the Internet, would these variables affect anything?

For example, I am wondering if MISP_BASEURL is related to Nginx's server_name variable under the hood.

I have not been able to find information about these, sorry to bother you!

narly-david commented 3 years ago

I believe that MISP_ADMIN_EMAIL, MISP_ADMIN_PASSPHRASE, MISP_BASEURL are related to the MISP app itself when you launch it in the web browser.

There are definite references to MISP_BASEURL in the install script. However, I have not found references to MISP_ADMIN_EMAIL, MISP_ADMIN_PASSPHRASE. There have been a number of new commits in the other MISP repos, so they have been updated, but not reflected in searches.

They are all provided as environment variables to the containers when run via Docker Compose.

CodingFree commented 3 years ago

Quoting @xme: