Skip to content

Commit f4f1459

Browse files
authored
Merge pull request #25 from luanne/startup
Startup tweaks
2 parents b77a5d2 + 2690170 commit f4f1459

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ WORKDIR /workspace
77

88
COPY pom.xml ./
99
COPY src ./src
10+
COPY codegen-gradle ./codegen-gradle
11+
RUN chmod +x /workspace/codegen-gradle/gradlew
1012

1113
RUN mvn -q -DskipTests package
1214

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ client.activate();
365365
By default, this starts `neo4j` + `guide` (the Java application):
366366

367367
```bash
368-
docker compose up --build -d
368+
docker compose --profile java up --build -d
369369
```
370370

371371
#### Running Neo4j only (for local Java development)
@@ -445,6 +445,9 @@ docker compose down --remove-orphans
445445
| `NEO4J_VERSION` | `2025.10.1-community-bullseye` | Neo4j Docker image tag |
446446
| `NEO4J_USERNAME` | `neo4j` | Neo4j username |
447447
| `NEO4J_PASSWORD` | `brahmsian` | Neo4j password |
448+
| `NEO4J_HTTP_PORT` | 7474 | Neo4j HTTP port |
449+
| `NEO4J_BOLT_PORT` | 7687 | Neo4j Bolt port |
450+
| `NEO4J_HTTPS_PORT` | 7473 | Neo4j HTTPS port |
448451
| `OPENAI_API_KEY` | (required) | OpenAI API key |
449452
| `DISCORD_TOKEN` | (optional) | Discord bot token |
450453

compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ services:
33
image: neo4j:${NEO4J_VERSION:-2025.10.1-community-bullseye}
44
container_name: embabel-neo4j
55
ports:
6-
- "7474:7474" # HTTP
7-
- "7687:7687" # Bolt
8-
- "7473:7473" # HTTPS
6+
- "${NEO4J_HTTP_PORT:-7474}:7474" # HTTP
7+
- "${NEO4J_BOLT_PORT:-7687}:7687" # Bolt
8+
- "${NEO4J_HTTPS_PORT:-7473}:7473" # HTTPS
99
environment:
1010
- NEO4J_AUTH=${NEO4J_USERNAME:-neo4j}/${NEO4J_PASSWORD:-brahmsian}
1111
- NEO4J_PLUGINS=["apoc"]

0 commit comments

Comments
 (0)