-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
96 lines (90 loc) · 2.13 KB
/
docker-compose.yml
File metadata and controls
96 lines (90 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
92
93
94
95
96
services:
# PostgreSQL Database
postgres:
image: postgres:15-alpine
container_name: stillontime-postgres
environment:
POSTGRES_DB: stillontime_automation
POSTGRES_USER: stillontime_user
POSTGRES_PASSWORD: stillontime_password
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
- ./backend/docker/init.sql:/docker-entrypoint-initdb.d/init.sql
networks:
- stillontime-network
# Redis Cache
redis:
image: redis:7-alpine
container_name: stillontime-redis
ports:
- "6379:6379"
volumes:
- redis_data:/data
networks:
- stillontime-network
# Qdrant Vector Database
qdrant:
image: qdrant/qdrant:v1.15.1
container_name: stillontime-qdrant
ports:
- "6333:6333" # HTTP API
- "6334:6334" # gRPC
volumes:
- qdrant_data:/qdrant/storage
networks:
- stillontime-network
environment:
QDRANT__SERVICE__GRPC_PORT: 6334
# Backend API
backend:
build:
context: ./backend
dockerfile: Dockerfile.dev
container_name: stillontime-backend
environment:
NODE_ENV: development
DATABASE_URL: postgresql://stillontime_user:stillontime_password@postgres:5432/stillontime_automation
REDIS_URL: redis://redis:6379
QDRANT_URL: http://qdrant:6333
PORT: 3001
FRONTEND_URL: http://localhost:3000
ports:
- "3001:3001"
volumes:
- ./backend:/app
- /app/node_modules
- ./backend/logs:/app/logs
depends_on:
- postgres
- redis
- qdrant
networks:
- stillontime-network
command: npm run dev
# Frontend React App
frontend:
build:
context: ./frontend
dockerfile: Dockerfile.dev
container_name: stillontime-frontend
environment:
VITE_API_URL: http://localhost:3001
ports:
- "3000:3000"
volumes:
- ./frontend:/app
- /app/node_modules
depends_on:
- backend
networks:
- stillontime-network
command: npm run dev
volumes:
postgres_data:
redis_data:
qdrant_data:
networks:
stillontime-network:
driver: bridge