-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
35 lines (33 loc) · 915 Bytes
/
Copy pathdocker-compose.dev.yml
File metadata and controls
35 lines (33 loc) · 915 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
# ============================================================
# docker-compose.dev.yml — Local Development (Backend Only)
#
# For testing on your local machine / Kali Linux VM
# Frontend runs separately via: npm run dev (on Windows)
#
# USAGE:
# docker compose -f docker-compose.dev.yml up --build
# ============================================================
services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
container_name: openclaw_backend
ports:
- "8080:8080"
env_file:
- ./backend/.env
volumes:
- ./backend/uploads:/app/uploads
restart: unless-stopped
networks:
- app_network
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 15s
networks:
app_network:
driver: bridge