-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
91 lines (85 loc) · 2.13 KB
/
Copy pathdocker-compose.yml
File metadata and controls
91 lines (85 loc) · 2.13 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
version: '3.8'
services:
postgres:
image: postgres:15-alpine
container_name: pipe-postgres
environment:
POSTGRES_DB: pipe_db
POSTGRES_USER: pipe_user
POSTGRES_PASSWORD: pipe_password
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U pipe_user -d pipe_db"]
interval: 10s
timeout: 5s
retries: 5
redis:
image: redis:7-alpine
container_name: pipe-redis
command: redis-server --appendonly yes
ports:
- "6379:6379"
volumes:
- redis_data:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 5s
retries: 5
neo4j:
image: neo4j:5-community
container_name: pipe-neo4j
environment:
NEO4J_AUTH: neo4j/pipe_password
NEO4J_PLUGINS: '["apoc", "graph-data-science"]'
NEO4J_dbms_security_procedures_unrestricted: apoc.*,gds.*
NEO4J_dbms_security_procedures_allowlist: apoc.*,gds.*
NEO4J_dbms_memory_heap_initial__size: 512m
NEO4J_dbms_memory_heap_max__size: 2G
ports:
- "7474:7474" # HTTP
- "7687:7687" # Bolt
volumes:
- neo4j_data:/data
- neo4j_logs:/logs
- neo4j_import:/var/lib/neo4j/import
- neo4j_plugins:/plugins
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:7474 || exit 1"]
interval: 10s
timeout: 10s
retries: 10
# Optional: pgAdmin for PostgreSQL management
pgadmin:
image: dpage/pgadmin4:latest
container_name: pipe-pgadmin
environment:
PGADMIN_DEFAULT_EMAIL: admin@pipe.local
PGADMIN_DEFAULT_PASSWORD: admin
PGADMIN_CONFIG_SERVER_MODE: 'False'
ports:
- "5050:80"
depends_on:
- postgres
profiles:
- dev-tools
# Optional: RedisInsight for Redis management
redisinsight:
image: redislabs/redisinsight:latest
container_name: pipe-redisinsight
ports:
- "8001:8001"
depends_on:
- redis
profiles:
- dev-tools
volumes:
postgres_data:
redis_data:
neo4j_data:
neo4j_logs:
neo4j_import:
neo4j_plugins: