Skip to content

Commit 7c0c285

Browse files
committed
setup docker compose
1 parent 63710d7 commit 7c0c285

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

docker-compose.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
version: '3.7'
2+
networks:
3+
neo-eloquent:
4+
5+
services:
6+
app:
7+
build:
8+
context: .
9+
ports:
10+
- ${DOCKER_HOST_APP_PORT:-8000}:80
11+
volumes:
12+
- ./:/opt/project
13+
environment:
14+
- NEO4J_HOST=neo4j
15+
- NEO4J_DATABASE=neo4j
16+
- NEO4J_PORT=7687
17+
- NEO4J_USER=neo4j
18+
- NEO4J_PASSWORD=testtest
19+
working_dir: /opt/project
20+
networks:
21+
- neo-eloquent
22+
23+
neo4j:
24+
environment:
25+
- NEO4J_AUTH=neo4j/testtest
26+
image: neo4j:5
27+
ports:
28+
- ${DOCKER_HOST_NEO4J_HTTP_PORT:-7474}:7474
29+
- ${DOCKER_HOST_NEO4J_BOLT_PORT:-7687}:7687
30+
networks:
31+
- neo-eloquent
32+

0 commit comments

Comments
 (0)