-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
105 lines (96 loc) · 2.21 KB
/
docker-compose.yml
File metadata and controls
105 lines (96 loc) · 2.21 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
services:
gateway:
image: gateway
ports:
- '3001:3001'
networks:
- db-network
lab1:
image: lab1
ports:
- '5001:5001'
networks:
- db-network
lab2:
image: lab2
ports:
- '5002:5002'
networks:
- db-network
lab3:
image: lab3
ports:
- '5003:5003'
networks:
- db-network
redis:
image: redis:8.0.2-bookworm
# volumes:
# - ./redis_data:/data
ports:
- '6379:6379'
networks:
- db-network
mongodb:
image: mongo:8.0.10-noble
ports:
- '27017:27017'
environment:
- MONGO_INITDB_ROOT_USERNAME=admin
- MONGO_INITDB_ROOT_PASSWORD=secret
# volumes:
# - ./mongodb_data:/data/db
networks:
- db-network
neo4j:
image: neo4j:5.24.1-community
container_name: neo4j
environment:
- NEO4J_AUTH=neo4j/strongpassword
ports:
- '7474:7474'
- '7687:7687'
# volumes:
# - ./neo4j_data:/data
# - ./neo4j_logs:/logs
# - ./neo4j_import:/import
healthcheck:
test: ['CMD', 'cypher-shell', '-u', 'neo4j', '-p', 'strongpassword', 'RETURN 1;']
interval: 10s
timeout: 5s
retries: 3
networks:
- db-network
elasticsearch:
image: elasticsearch:8.16.4
ports:
- '9200:9200'
- '9300:9300'
environment:
- discovery.type=single-node
- ES_JAVA_OPTS=-Xms1g -Xmx1g
- ELASTIC_PASSWORD=secret
- xpack.security.http.ssl.enabled=false
# volumes:
# - ./elastic_data:/usr/share/elasticsearch/data
networks:
- db-network
postgres:
image: debezium/postgres:13
container_name: postgres_container
environment:
POSTGRES_USER: postgres_user
POSTGRES_PASSWORD: postgres_password
POSTGRES_DB: postgres_db
PGDATA: /var/lib/postgresql/data/pgdata
ports:
- '5430:5432'
volumes:
# - ./pgdata:/var/lib/postgresql/data/pgdata
- ./postgres-init:/docker-entrypoint-initdb.d
command: ['postgres', '-c', 'wal_level=logical']
networks:
- db-network
networks:
db-network:
external: true