Skip to content

Instantly share code, notes, and snippets.

@nadouani
Last active September 21, 2022 12:41
Show Gist options
  • Save nadouani/b1a63c686200960a2323ed0e15747c8d to your computer and use it in GitHub Desktop.
Save nadouani/b1a63c686200960a2323ed0e15747c8d to your computer and use it in GitHub Desktop.
Run TheHive 4.0 using docker, a local file storage and a berkleydb for persistence
play.http.secret.key="ThehiveTestPassword"
## For test only !
db.janusgraph {
storage.backend: berkeleyje
storage.directory: /tmp/
berkeleyje.freeDisk: 200
}
storage {
provider: localfs
localfs.directory: /opt/data
}
docker run -it -d \
-p 9000:9000 \
-v `pwd`/application.conf:/etc/thehive/application.conf \
-v `pwd`/data:/tmp \
thehiveproject/thehive4:latest --no-config
@opsxcq
Copy link

opsxcq commented Jul 30, 2020

If it fails to start, consider changing the permissions of the data folder.

@nadouani
Copy link
Author

Yes, thanks for this comment, I thought it was obvious 🤣

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment