-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
79 lines (73 loc) ยท 1.71 KB
/
docker-compose.yml
File metadata and controls
79 lines (73 loc) ยท 1.71 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
name: spectragraph
services:
# PostgreSQL database
postgres:
image: postgres:15
container_name: spectragraph-postgres
restart: always
environment:
POSTGRES_USER: spectragraph
POSTGRES_PASSWORD: spectragraph
POSTGRES_DB: spectragraph
ports:
- "5433:5432"
volumes:
- pg_data:/var/lib/postgresql/data
networks:
- spectragraph_network
# Redis for Celery & cache
redis:
image: redis:alpine
container_name: redis-cache
ports:
- "6379:6379"
networks:
- spectragraph_network
# Neo4j graph database
neo4j:
image: neo4j:5
container_name: spectragraph-neo4j
ports:
- "7474:7474" # Web UI
- "7687:7687" # Bolt
environment:
- NEO4J_AUTH=${NEO4J_USERNAME}/${NEO4J_PASSWORD}
- NEO4J_PLUGINS=["apoc"]
- NEO4J_apoc_export_file_enabled=true
- NEO4J_apoc_import_file_enabled=true
- NEO4J_apoc_import_file_use__neo4j__config=true
volumes:
- neo4j_data:/data
- neo4j_logs:/logs
- neo4j_import:/var/lib/neo4j/import
- neo4j_plugins:/plugins
restart: unless-stopped
networks:
- spectragraph_network
app:
build:
context: ./spectragraph-app
dockerfile: Dockerfile.dev
container_name: spectragraph-app
ports:
- "5173:5173"
volumes:
- ./spectragraph-app:/app
- app_node_modules:/app/node_modules
environment:
- VITE_API_URL=${VITE_API_URL}
networks:
- spectragraph_network
stdin_open: true
tty: true
networks:
spectragraph_network:
name: spectragraph_network
driver: bridge
volumes:
pg_data:
neo4j_data:
neo4j_logs:
neo4j_import:
neo4j_plugins:
app_node_modules: