-
Notifications
You must be signed in to change notification settings - Fork 2
/
compose.yaml
57 lines (52 loc) · 1.37 KB
/
compose.yaml
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
57
services:
postgres: # Postgres database
image: postgres:16.3
environment:
POSTGRES_USER: "user"
POSTGRES_PASSWORD: "password123"
POSTGRES_DB: "mydatabase"
ports:
- "5432:5432"
volumes:
- COS326_pg_data:/var/lib/postgresql/data
- ./initpg:/docker-entrypoint-initdb.d
mongodb: # MongoDB database
image: mongo:7.0.12
ports:
- "27017:27017"
volumes:
- COS326_mongo_data:/data/db
basex: # BaseX database
image: basex/basexhttp
ports:
- "1984:1984"
- "8984:8984"
- "8985:8985"
volumes:
- COS326_basex_data:/srv/basex/data
- COS326_basex_repo:/srv/basex/repo
- COS326_basex_webapp:/srv/basex/webapp
neo4j: # Neo4j database
image: neo4j:5.9.0
environment:
NEO4J_AUTH: "neo4j/password123" # user/password
ports:
- "7474:7474"
- "7687:7687"
volumes:
- COS326_neo4j_data:/data
objectdb: # ObjectDB database
build: ./objectdb
ports:
- "6136:6136"
volumes:
- COS326_objectdb_data:/opt/objectdb # In particular, the database files are stored in /opt/objectdb/objectdb-2.9.0/db/ as .odb files
# These volumes are used to persist the data of the databases
volumes:
COS326_pg_data:
COS326_mongo_data:
COS326_basex_data:
COS326_basex_repo:
COS326_basex_webapp:
COS326_neo4j_data:
COS326_objectdb_data: