-
Notifications
You must be signed in to change notification settings - Fork 10
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
Added soarca docker compose deployment config #70
Added soarca docker compose deployment config #70
Conversation
086ecec
to
993a068
Compare
docker/soarca/docker-compose.yml
Outdated
DB_USERNAME: "root" | ||
DB_PASSWORD: "rootpassword" | ||
PLAYBOOK_API_LOG_LEVEL: trace | ||
DATABASE: "false" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can be set to true?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep my bad
docker/soarca/docker-compose.yml
Outdated
MQTT_PORT: 1883 | ||
ports: | ||
- 127.0.0.1:8080:8080 | ||
- 127.0.0.1:1883:1883 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mosquitto uses the same port right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why does it need to expose port 1883?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops
- target: 1883 | ||
published: 1883 | ||
protocol: tcp | ||
mode: host |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why host? why not publish for now to internal docker net? Soarca fins would then need to be added to the same net without exposing on host level.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fins need to connect to it as well you won't be able to local forward it or connect to it otherwise. Typically fins are not running in the same context or even a docker container.
image: eclipse-mosquitto | ||
container_name: mosquitto | ||
volumes: | ||
- type: volume |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not specify in the same format as above? e.g. mongodb_data_container:/data/db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This gives more options to how to mount the volumes
c962b20
to
1887617
Compare
No description provided.