-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (48 loc) · 1.11 KB
/
Copy pathdocker-compose.yml
File metadata and controls
51 lines (48 loc) · 1.11 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
services:
neo4j:
image: neo4j:5.15-community
container_name: muleshield-neo4j
environment:
NEO4J_AUTH: neo4j/password
NEO4J_ACCEPT_LICENSE_AGREEMENT: "yes"
ports:
- "7687:7687" # Bolt
- "7474:7474" # HTTP (browser)
volumes:
- neo4j-data:/data
- neo4j-logs:/logs
networks:
- muleshield-network
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:7474"]
interval: 10s
timeout: 5s
retries: 5
postgres:
image: postgres:16-alpine
container_name: muleshield-postgres
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: muleshield
ports:
- "5432:5432"
volumes:
- postgres-data:/var/lib/postgresql/data
networks:
- muleshield-network
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
timeout: 5s
retries: 5
volumes:
neo4j-data:
driver: local
neo4j-logs:
driver: local
postgres-data:
driver: local
networks:
muleshield-network:
driver: bridge