Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion docs/content/setup/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,17 @@ If you are upgrading Infection Monkey to a new version, be sure to remove
any MongoDB containers or volumes associated with the previous version.
{{% /notice %}}

{{% notice warning %}}
Warning: The MongoDB server used by Monkey Island is **unsecured (no authentication enabled)**.
It listens only on the **localhost**, but it is strongly recommended to run Infection Monkey on a **dedicated host or VM** to avoid any potential security risks.
{{% /notice %}}

1. Start a MongoDB Docker container:

```bash
sudo docker run \
--name monkey-mongo \
--network=host \
-p 127.0.0.1:27017:27017 \
--volume monkey-db:/data/db \
--detach \
mongo:6.0
Expand All @@ -49,6 +54,11 @@ user [provide Infection Monkey with a
certificate](#start-monkey-island-with-user-provided-certificate) that has
been signed by a private certificate authority.

{{% notice warning %}}
Warning: The MongoDB server used by Monkey Island is **unsecured (no authentication enabled)**.
It listens only on the **localhost**, but it is strongly recommended to run Infection Monkey on a **dedicated host or VM** to avoid any potential security risks.
{{% /notice %}}

1. Run the Monkey Island Server
```bash
sudo docker run \
Expand All @@ -67,6 +77,11 @@ Once you have access to the Monkey Island server, check out the [getting started

## Configuring the server

{{% notice warning %}}
Warning: The MongoDB server used by Monkey Island is **unsecured (no authentication enabled)**.
It listens only on the **localhost**, but it is strongly recommended to run Infection Monkey on a **dedicated host or VM** to avoid any potential security risks.
{{% /notice %}}

You can configure the server by mounting a volume and specifying a
[server configuration file](../../reference/server-configuration):

Expand Down