Docker compose for Infection monkey
Go to file
2023-11-14 10:58:44 +00:00
docker-compose.yml Typo error 2023-11-14 10:50:01 +00:00
LICENSE Initial commit 2023-11-14 10:28:16 +00:00
README.md Mongo suggestion 2023-11-14 10:58:44 +00:00

Docker compose for Infection Monkey

Steps to execute before running containers:

  1. Create the folder: mkdir -m=700 monkey_island_data
  2. Inside folder monkey_island_data create the file server_settings.json with the following content:
{
  "data_dir": "/monkey_island_data",
        "mongodb": {
            "start_mongodb": false
        },
  "ssl_certificate": {
        "ssl_certificate_file": "/monkey_island_data/cert.crt",
        "ssl_certificate_key_file": "/monkey_island_data/cert.key"
    }
}

If you are not goin to use your own certificate, you can delete the ssl_certificate section.

  1. You can run docker compose up -d

Source

Note: If the following error appears in the logs: MongoDB 5.0+ requires a CPU with AVX support then change the mongo versión for 4.4.6