-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
56 lines (52 loc) · 1002 Bytes
/
docker-compose.yml
File metadata and controls
56 lines (52 loc) · 1002 Bytes
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
46
47
48
49
50
51
52
53
54
55
56
# define networks to connect containers with each other
networks:
bde:
services:
app:
build: .
image: docker-bde
command: sh
tty: true
stdin_open: true
ports:
- "8888:8888" # Jupyter
- "8000:8000" # Django
networks:
- bde
depends_on:
- age
- db
- neo4j
volumes:
- "..:/shared"
age:
image: apache/age
environment:
POSTGRES_USER: postgresUser
POSTGRES_PASSWORD: postgresPW
POSTGRES_DB: postgresDB
networks:
- bde
volumes:
- ./dbs/age:/var/lib/postgresql/data
db:
image: postgres:15
environment:
POSTGRES_HOST_AUTH_METHOD: "trust"
ports:
- "5432:5432"
networks:
- bde
volumes:
- ./dbs/postgres:/var/lib/postgresql/data
neo4j:
image: neo4j:5.18-community
environment:
NEO4J_AUTH: none
ports:
- "7474:7474"
- "7687:7687"
networks:
- bde
volumes:
- ./dbs/neo4j:/data:delegated