-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
60 lines (56 loc) · 1.29 KB
/
docker-compose.dev.yml
File metadata and controls
60 lines (56 loc) · 1.29 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
50
51
52
53
54
55
56
57
58
59
60
version: '3.8'
services:
# Main CIV-ARCOS service
civ-arcos:
build:
context: .
dockerfile: Dockerfile
ports:
- "8000:8000"
volumes:
- ./data:/data
environment:
- ARCOS_DEBUG=false
- ARCOS_STORAGE_PATH=/data/evidence
- GITHUB_TOKEN=${GITHUB_TOKEN}
restart: unless-stopped
networks:
- arcos-network
# Plugin Development Environment
plugin-dev:
build:
context: .
dockerfile: Dockerfile.dev
ports:
- "8001:8000"
volumes:
- ./data:/data
- ./plugins:/data/plugins
- ./workspace:/workspace
- ./civ_arcos:/app/civ_arcos
environment:
- ARCOS_DEBUG=true
- ARCOS_STORAGE_PATH=/data/evidence
- ARCOS_PORT=8000
- PLUGIN_DEV_MODE=true
- GITHUB_TOKEN=${GITHUB_TOKEN}
command: ["python", "-m", "civ_arcos.api"]
networks:
- arcos-network
# Development tools container
dev-tools:
build:
context: .
dockerfile: Dockerfile.dev
volumes:
- ./workspace:/workspace
- ./plugins:/data/plugins
- ./civ_arcos:/app/civ_arcos
environment:
- PYTHONPATH=/app:/workspace
command: ["tail", "-f", "/dev/null"] # Keep container running
networks:
- arcos-network
networks:
arcos-network:
driver: bridge