Skip to content

Commit

Permalink
add neo4j to deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Newberry committed Aug 21, 2024
1 parent 6d04c36 commit c14c335
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ deps/redis
node_modules
deps/postgres
vendor/bundle
deps/neo4j
vendor
deps/chroma-data
config/dev
local.env
Expand Down
17 changes: 16 additions & 1 deletion deps/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,22 @@ services:
ports:
- "8000:8000"
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:8000/api/v1/heartbeat" ]
test: ["CMD", "curl", "-f", "http://localhost:8000/api/v1/heartbeat"]
interval: 30s
timeout: 10s
retries: 3
neo4j:
image: neo4j:5.21.0
ports:
- "7474:7474"
- "7687:7687"
volumes:
- ./neo4j/data:/data
# - ./neo4j/logs:/logs
# - ./neo4j/conf:/conf
# - ./neo4j/import:/import
#- ./metrics/server2:/metrics
#- ./licenses/server2:/licenses
#- ./ssl/server2:/ssl
environment:
- NEO4J_AUTH=neo4j/password
4 changes: 4 additions & 0 deletions deps/ops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,7 @@ actions:
shell:
command: docker compose exec chat bash
alias: sh
options:
environment:
USER_ID: $(id -u)
GROUP_ID: $(id -g)

0 comments on commit c14c335

Please sign in to comment.