image
:
docker.io/library/postgres:16
-
PGUSER=${POSTGRES_USER:-bloodhound}
-
POSTGRES_USER=${POSTGRES_USER:-bloodhound}
-
POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-bloodhoundcommunityedition}
-
POSTGRES_DB=${POSTGRES_DB:-bloodhound}
#
Database ports are disabled by default. Please change your database password to something secure before uncommenting
#
- 127.0.0.1:${POSTGRES_PORT:-5432}:5432
-
postgres-data:/var/lib/postgresql/data
"
pg_isready -U ${POSTGRES_USER:-bloodhound} -d ${POSTGRES_DB:-bloodhound} -h 127.0.0.1 -p 5432
"
image
:
docker.io/library/neo4j:4.4
-
NEO4J_AUTH=${NEO4J_USER:-neo4j}/${NEO4J_SECRET:-bloodhoundcommunityedition}
-
NEO4J_dbms_allow__upgrade=${NEO4J_ALLOW_UPGRADE:-true}
#
Database ports are disabled by default. Please change your database password to something secure before uncommenting
-
127.0.0.1:${NEO4J_DB_PORT:-7687}:7687
-
127.0.0.1:${NEO4J_WEB_PORT:-7474}:7474
-
${NEO4J_DATA_MOUNT:-neo4j-data}:/data
"
wget -O /dev/null -q http://localhost:7474 || exit 1
"
image
:
docker.io/specterops/bloodhound:${BLOODHOUND_TAG:-latest}
-
bhe_disable_cypher_complexity_limit=${bhe_disable_cypher_complexity_limit:-false}
-
bhe_enable_cypher_mutations=${bhe_enable_cypher_mutations:-false}
-
bhe_graph_query_memory_limit=${bhe_graph_query_memory_limit:-2}
-
bhe_database_connection=user=${POSTGRES_USER:-bloodhound} password=${POSTGRES_PASSWORD:-bloodhoundcommunityedition} dbname=${POSTGRES_DB:-bloodhound} host=app-db
-
bhe_neo4j_connection=neo4j://${NEO4J_USER:-neo4j}:${NEO4J_SECRET:-bloodhoundcommunityedition}@graph-db:7687/
#
## Add additional environment variables you wish to use here.
#
## For common configuration options that you might want to use environment variables for, see `.env.example`
#
## example: bhe_database_connection=${bhe_database_connection}
#
## The left side is the environment variable you're setting for bloodhound, the variable on the right in `${}`
#
## is the variable available outside of Docker
#
## Default to localhost to prevent accidental publishing of the service to your outer networks
#
## These can be modified by your .env file or by setting the environment variables in your Docker host OS
-
${BLOODHOUND_HOST:-127.0.0.1}:${BLOODHOUND_PORT:-8080}:8080
#
## Uncomment to use your own bloodhound.config.json to configure the application
#
- ./bloodhound.config.json:/bloodhound.config.json:ro
condition
:
service_healthy
condition
:
service_healthy