forked from neo4j-php/neo4j-symfony
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (43 loc) · 1.14 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
version: '3.2'
networks:
neo4j:
driver: bridge
services:
client:
build:
context: .
dockerfile: Dockerfile
working_dir: /opt/project
networks:
- neo4j
volumes:
- .:/opt/project
- ./docker/php/conf.d/xdebug.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
- ./docker/php/conf.d/error_reporting.ini:/usr/local/etc/php/conf.d/error_reporting.ini
depends_on:
- neo4j
expose:
- 9000
env_file:
- .env
neo4j:
networks:
- neo4j
image: neo4j:4.3-enterprise
healthcheck:
test: [ "CMD", "neo4j status" ]
interval: 30s
timeout: 10s
retries: 5
expose:
- 7474
- 7687
ports:
- "7474:7474"
- "7687:7687"
environment:
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
- NEO4J_AUTH=neo4j/test
- NEO4J_dbms_security_allow__csv__import__from__file__urls=true
volumes:
- ./tests/resources:/import