-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.yml
39 lines (39 loc) · 1018 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
35
36
37
38
39
version : '3'
services:
neodb:
image: 'neo4j:3.5'
environment:
- NEO4J_AUTH=neo4j/pass123456
- NEO4J_dbms_security_procedures_unrestricted=algo.*
ports:
- '7474:7474'
- '7687:7687'
volumes:
- ./data/neo4j/data:/data
- ./data/neo4j/logs:/logs
- ./data/neo4j/import:/var/lib/neo4j/import
- ./data/neo4j/plugins:/plugins
pgdb:
image: 'postgres:latest'
environment:
- POSTGRES_USER=pg
- POSTGRES_PASSWORD=pass123456
- POSTGRES_DB=stocks
ports:
- "5432:5432"
volumes:
- ./data/postgres:/var/lib/postgresql/data
app:
build:
context: .
dockerfile: Dockerfile
volumes:
- ./app:/app
env_file:
- vars.env
ports:
- "8890:8888"
tty: True
depends_on:
- neodb
- pgdb