-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (37 loc) · 926 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
39 lines (37 loc) · 926 Bytes
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
version: '3.8'
services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
ports:
- "8000:8000"
user: "${UID:-1000}:${GID:-1000}"
volumes:
# DevBoard data directory (database, worktrees, etc.)
- ~/.devboard:/devboard
# Mount user's codebase directory (example - user will configure)
- ./:/code/devboard
environment:
- DEVBOARD_HOME=/devboard
- DATABASE_URL=sqlite:////devboard/data/devboard.db
develop:
watch:
- action: sync
path: ./backend/devboard
target: /app/devboard
- action: rebuild
path: ./backend/pyproject.toml
frontend:
# Placeholder for future frontend service
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "3000:3000"
volumes:
- ./frontend/src:/app/src
depends_on:
- backend
profiles:
- frontend