forked from neo4j-php/neo4j-symfony
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
35 lines (32 loc) · 932 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
networks:
neo4j-symfony:
services:
app:
user: root:${UID-1000}:${GID-1000}
build:
context: .
ports:
- ${DOCKER_HOST_APP_PORT:-8000}:80
volumes:
- ./:/opt/project
environment:
- NEO4J_HOST=neo4j
- NEO4J_DATABASE=neo4j
- NEO4J_PORT=7687
- NEO4J_USER=neo4j
- NEO4J_PASSWORD=testtest
- XDEBUG_CONFIG="client_host=host.docker.internal log=/tmp/xdebug.log"
working_dir: /opt/project
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
- neo4j-symfony
neo4j:
environment:
- NEO4J_AUTH=neo4j/testtest
image: neo4j:5.22
ports:
- ${DOCKER_HOST_NEO4J_HTTP_PORT:-7474}:7474
- ${DOCKER_HOST_NEO4J_BOLT_PORT:-7687}:7687
networks:
- neo4j-symfony