-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
49 lines (45 loc) · 1.15 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
49 lines (45 loc) · 1.15 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
name: 'Kubex GemX Analyzer Development Environment'
services:
gemx-analyzer-dev:
build:
context: .
dockerfile: Dockerfile.dev
target: development
image: gemx-analyzer:latest
container_name: gemx-analyzer-dev
ports:
- "8080:8080"
- "2345:2345" # Delve debugger port
environment:
- GEMINI_API_KEY=${GEMINI_API_KEY}
- OPENAI_API_KEY=${OPENAI_API_KEY}
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
- GROQ_API_KEY=${GROQ_API_KEY}
- GO_ENV=development
volumes:
- .:/app
- go_modules:/go/pkg/mod
networks:
- analyzer-dev-network
working_dir: /app
command: ["go", "run", "./cmd/main.go", "gateway", "serve"]
restart: unless-stopped
frontend-dev:
image: node:18-alpine
container_name: analyzer-frontend-dev
ports:
- "5173:5173"
volumes:
- ./frontend:/app
- node_modules:/app/node_modules
networks:
- analyzer-dev-network
working_dir: /app
command: ["npm", "run", "dev", "--", "--host", "0.0.0.0"]
restart: unless-stopped
volumes:
go_modules:
node_modules:
networks:
analyzer-dev-network:
driver: bridge