-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
54 lines (51 loc) · 1.29 KB
/
Copy pathdocker-compose.yml
File metadata and controls
54 lines (51 loc) · 1.29 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
services:
postgres:
image: postgres:16-alpine
container_name: ares-postgres
environment:
POSTGRES_DB: ares
POSTGRES_USER: ares
POSTGRES_PASSWORD: ares_dev_password
ports:
# Host 5433 avoids clashing with local Homebrew/Postgres on 5432.
- "127.0.0.1:5433:5432"
volumes:
- ares_pg:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ares -d ares"]
interval: 5s
timeout: 5s
retries: 5
redis:
image: redis:7-alpine
container_name: ares-redis
ports:
- "127.0.0.1:6379:6379"
volumes:
- ares_redis:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 5s
retries: 5
neo4j:
image: neo4j:5-community
container_name: ares-neo4j
environment:
# Matches NEO4J_USER / NEO4J_PASSWORD in .env (user is always "neo4j").
NEO4J_AUTH: neo4j/ares_dev_password
NEO4J_PLUGINS: '["apoc"]'
ports:
- "127.0.0.1:7474:7474" # HTTP browser
- "127.0.0.1:7687:7687" # Bolt
volumes:
- ares_neo4j:/data
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://localhost:7474 >/dev/null 2>&1 || exit 1"]
interval: 10s
timeout: 5s
retries: 10
volumes:
ares_pg:
ares_neo4j:
ares_redis: