-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM python:3.9 | ||
|
||
VOLUME [ "/docs" ] | ||
WORKDIR /docs | ||
CMD [ "mkdocs", "serve", "-a", "0.0.0.0:8000" ] | ||
|
||
ADD requirements.txt /tmp | ||
RUN pip install -r /tmp/requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,18 @@ | ||
# docs | ||
# docs | ||
|
||
The documentation uses mkdocs to render the content. | ||
|
||
``` | ||
# Install the requirements first | ||
pip install -r requirements.txt | ||
# Start the mkdocs server in development mode | ||
mkdocs serve | ||
``` | ||
|
||
Alternatively you can use a docker container: | ||
|
||
``` | ||
docker build . -t thehive-docs | ||
docker run -it --rm -p 8000:8000 -v $PWD:/docs thehive-docs | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -583,6 +583,8 @@ service thehive start | |
|
||
Please note that the service may take some time to start. Once it is started, you may launch your browser and connect to `http://YOUR_SERVER_ADDRESS:9000/`. | ||
|
||
The default admin user is `[email protected]` with password `secret`. It is recommended to change the default password. | ||
|
||
|
||
## Advanced configuration | ||
For additional configuration options, please refer to the [Configuration Guides](../index.md#configuration-guides). | ||
|