Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated docker documentation and db container name to avoid confusion with db volume #823

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'

services:
db:
mongo-db:
image: mongo:4.2
volumes:
- db:/data/db/
Expand All @@ -10,7 +10,7 @@ services:
image: quay.io/activecm/rita-legacy:${VERSION:-latest}
build: .
depends_on:
- db
- mongo-db
volumes:
- ${CONFIG:?You must provide a path to your CONFIG}:/etc/rita/config.yaml:ro
- ${LOGS:?You must provide a path to your LOGS}:/logs:ro
Expand Down
2 changes: 1 addition & 1 deletion docs/Docker Usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ sudo docker build -t quay.io/activecm/rita-legacy .

## Running RITA with Docker Compose

You will need a config file where you have [put in your `InternalSubnets`](../Readme.md#configuration-file).
You will need a [config file](rita/etc/rita_docker.yaml) (make sure to use rita_docker.yaml instead of rita.yaml) where you have [put in your `InternalSubnets`](../Readme.md#configuration-file).
You will also need the path to your Zeek log files.

```
Expand Down
2 changes: 1 addition & 1 deletion etc/rita_docker.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This section configures the connection to the MongoDB server and the database name to use
MongoDB:
# See https://docs.mongodb.com/manual/reference/connection-string/
ConnectionString: mongodb://db:27017
ConnectionString: mongodb://mongo-db:27017
# Example with authentication. Be sure to change the AuthenticationMechanism as well.
# ConnectionString: mongodb://username:password@localhost:27017

Expand Down