forked from sweepai/sweep
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
54 lines (54 loc) · 1.13 KB
/
docker-compose.yml
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
version: '2'
services:
webhook:
env_file:
- .env
build:
context: .
dockerfile: Dockerfile
target: base
image: sweepai/sweep
container_name: webhook
# network_mode: "host"
volumes:
- .:/app
- /sweep_docs:/sweep_docs
ports:
- "${PORT:-8080}:${PORT:-8080}"
command: >
sh -c "echo PORT: ${PORT:-8080} && . bin/startup.sh"
stdin_open: true
tty: true
environment:
- PORT=${PORT:-8080}
restart: unless-stopped
sandbox:
build:
context: sandbox
dockerfile: Dockerfile.sandbox
image: sweepai/sandbox
container_name: sandbox
scale: 0
restart: unless-stopped
sandbox-web:
env_file:
- .env
build:
context: sandbox
dockerfile: Dockerfile.web
image: sweepai/sandbox-web
container_name: sandbox-web
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 8081:8080
restart: unless-stopped
minis3:
build: minis3
image: sweepai/minis3
container_name: minis3
ports:
- "8082:8080"
volumes:
- ./public:/app/public
restart: unless-stopped