-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·43 lines (42 loc) · 1.15 KB
/
docker-compose.yml
File metadata and controls
executable file
·43 lines (42 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
services:
blue-app:
build:
context: .
target: development
container_name: blue-app
user: root
ports:
- "3001:3000"
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
- DATABASE_URL=file:/app/prisma/dev.db
- NODE_ENV=development
- WATCHPACK_POLLING=true
- OLLAMA_HOST=http://host.docker.internal:11434
- OLLAMA_MODEL=llama3.2:latest
- GOOGLE_GENAI_API_KEY=${GOOGLE_GENAI_API_KEY}
- GEMINI_API_KEY=${GEMINI_API_KEY}
- GOOGLE_API_KEY=${GOOGLE_API_KEY}
- IMGBB_API_KEY=${IMGBB_API_KEY}
- NEXT_PUBLIC_IMGBB_API_KEY=${NEXT_PUBLIC_IMGBB_API_KEY}
volumes:
- .:/app
- /app/.next
- /app/node_modules
- "/mnt/e/Homelab/Poshmark photos:/app/photos"
- "/mnt/e/WSL/BLUE-Vault:/app/obsidian"
command: npm run dev
restart: always
blue-watcher:
image: node:20
container_name: blue-watcher
user: root
volumes:
- .:/app
- "/mnt/e/WSL/BLUE-Vault:/app/obsidian"
working_dir: /app
environment:
- NODE_ENV=development
command: npx tsx src/scripts/sync-to-obsidian.ts
restart: always