-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
29 lines (22 loc) · 1.01 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
29 lines (22 loc) · 1.01 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
# Development override for docker-compose.yml
# Usage: docker-compose -f docker-compose.yml -f docker-compose.dev.yml up
services:
gitlab-analyzer:
# Mount source code for live development (no rebuild needed)
volumes:
# Mount source code (read-write for development)
- ./src:/app/src:rw
- ./main.py:/app/main.py:rw
- ./templates:/app/templates:rw
# Mount data directory for persistence (processed issues, etc.)
- ./data:/app/data:rw
# Override command to enable auto-reload (if using a tool like watchdog)
# For Python, changes will be picked up on next execution (poll cycle)
# For webhook mode, you may want to use a process manager like supervisor
# command: ["python3", "-u", "main.py", "--mode", "poll"]
# Development: Enable more verbose logging and development environment
environment:
- LOG_LEVEL=DEBUG
- ENVIRONMENT=development
# Development: Remove restart policy to allow manual control
restart: "no"