-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
134 lines (127 loc) · 3.18 KB
/
docker-compose.yml
File metadata and controls
134 lines (127 loc) · 3.18 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
services:
signal-api:
image: bbernhard/signal-cli-rest-api:0.98
restart: unless-stopped
ports:
- "8080:8080"
volumes:
- ~/.local/share/signal-cli:/home/.local/share/signal-cli
environment:
- MODE=json-rpc
healthcheck:
test: ["CMD-SHELL", "curl -fsS http://localhost:8080/v1/about > /dev/null"]
interval: 5s
timeout: 3s
retries: 24
start_period: 10s
penny:
build:
context: ./penny
args:
GIT_COMMIT: ${GIT_COMMIT:-unknown}
GIT_COMMIT_MESSAGE: ${GIT_COMMIT_MESSAGE:-unknown}
image: penny
restart: unless-stopped
depends_on:
signal-api:
condition: service_healthy
ports:
- "9090:9090"
volumes:
- ./data:/penny/data
- ./.env:/penny/.env
- ./github_api:/shared/github_api:ro
- ./similarity:/shared/similarity:ro
environment:
- PYTHONUNBUFFERED=1
- SIGNAL_API_URL=http://signal-api:8080
- LOG_FILE=/penny/data/penny/logs/penny.log
- SNAPSHOT=${SNAPSHOT:-0}
pm:
build:
context: .
dockerfile: penny-team/Dockerfile
restart: unless-stopped
profiles: [team]
command: ["--agent", "product-manager"]
volumes:
- ./data:/repo/data
- ./github_api:/shared/github_api:ro
- ./similarity:/shared/similarity:ro
env_file: .env
environment:
- PYTHONUNBUFFERED=1
- LOCAL=1
architect:
build:
context: .
dockerfile: penny-team/Dockerfile
restart: unless-stopped
profiles: [team]
command: ["--agent", "architect"]
volumes:
- ./data:/repo/data
- ./github_api:/shared/github_api:ro
- ./similarity:/shared/similarity:ro
env_file: .env
environment:
- PYTHONUNBUFFERED=1
- LOCAL=1
worker:
build:
context: .
dockerfile: penny-team/Dockerfile
restart: unless-stopped
profiles: [team]
stop_grace_period: 120s
command: ["--agent", "worker"]
volumes:
- ./data:/repo/data
- ./github_api:/shared/github_api:ro
- ./similarity:/shared/similarity:ro
env_file: .env
environment:
- PYTHONUNBUFFERED=1
- LOCAL=1
monitor:
build:
context: .
dockerfile: penny-team/Dockerfile
restart: unless-stopped
profiles: [team]
command: ["--agent", "monitor"]
volumes:
- ./data:/repo/data
- ./github_api:/shared/github_api:ro
- ./similarity:/shared/similarity:ro
env_file: .env
environment:
- PYTHONUNBUFFERED=1
- LOCAL=1
quality:
build:
context: .
dockerfile: penny-team/Dockerfile
restart: unless-stopped
profiles: [team]
command: ["--agent", "quality"]
volumes:
- ./data:/repo/data
- ./github_api:/shared/github_api:ro
- ./similarity:/shared/similarity:ro
env_file: .env
environment:
- PYTHONUNBUFFERED=1
- LOCAL=1
watcher:
build: ./scripts/watcher
restart: unless-stopped
profiles: [team]
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- .:/repo
environment:
- DEPLOY_INTERVAL=300
- COMPOSE_PROJECT_NAME=${COMPOSE_PROJECT_NAME:-penny}
- HOST_PROJECT_DIR=${PWD}
working_dir: /repo