forked from tsuru/tsuru
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
60 lines (54 loc) · 1.16 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
55
56
57
58
59
60
version: "2.4"
services:
mongo:
container_name: mongo
image: mongo:4
ports:
- 27017:27017
volumes:
- /data/db
restart: unless-stopped
registry:
container_name: registry
image: registry:2
ports:
- 5000:5000
volumes:
- /var/lib/registry
restart: unless-stopped
deploy-agent:
container_name: deploy-agent
image: tsuru/deploy-agent:v2.3.3
command:
- -port=8000
- -buildkit-addr=tcp://buildkit:8001
ports:
- 8000:8000
restart: unless-stopped
depends_on:
- registry
- buildkit
buildkit:
container_name: buildkit
image: moby/buildkit:v0.12.1
privileged: true
volumes:
- ./etc/buildkitd.toml:/etc/buildkit/buildkitd.toml
restart: unless-stopped
depends_on:
- registry
tsuru-api:
container_name: tsuru-api
build: ./
image: tsuru/api:dev
ports:
- 8080:8080
volumes:
- ./etc/tsurud.conf:/etc/tsuru/tsuru.conf:ro
restart: unless-stopped
depends_on:
- mongo
- registry
- deploy-agent
x-custom:
tsuru-host-ip: ${TSURU_HOST_IP:?You must execute "./misc/setup-docker-compose.sh" before running Docker Compose}