Skip to content

Commit

Permalink
Updated with name labels and volumes for BloodHound CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismaddalena committed Dec 3, 2024
1 parent da6297a commit 05c7493
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions examples/docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
services:
app-db:
image: docker.io/library/postgres:16
labels:
name: "bhce_postgres"
environment:
- PGUSER=${POSTGRES_USER:-bloodhound}
- POSTGRES_USER=${POSTGRES_USER:-bloodhound}
Expand All @@ -40,6 +42,8 @@ services:

graph-db:
image: docker.io/library/neo4j:4.4
labels:
name: "bhce_neo4j"
environment:
- NEO4J_AUTH=${NEO4J_USER:-neo4j}/${NEO4J_SECRET:-bloodhoundcommunityedition}
- NEO4J_dbms_allow__upgrade=${NEO4J_ALLOW_UPGRADE:-true}
Expand All @@ -62,6 +66,8 @@ services:

bloodhound:
image: docker.io/specterops/bloodhound:${BLOODHOUND_TAG:-latest}
labels:
name: bhce_bloodhound
environment:
- bhe_disable_cypher_complexity_limit=${bhe_disable_cypher_complexity_limit:-false}
- bhe_enable_cypher_mutations=${bhe_enable_cypher_mutations:-false}
Expand All @@ -77,9 +83,8 @@ services:
### 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
# volumes:
# - ./bloodhound.config.json:/bloodhound.config.json:ro
volumes:
- ./bloodhound.config.json:/bloodhound.config.json:ro
depends_on:
app-db:
condition: service_healthy
Expand Down

0 comments on commit 05c7493

Please sign in to comment.