forked from tsuru/tsuru
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
89 lines (88 loc) · 2.14 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
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
version: "3"
services:
mongo:
image: mongo
volumes:
- ./data/mongo:/data/db
networks:
- tsuru_net
redis:
image: redis
volumes:
- ./data/redis:/data
networks:
- tsuru_net
ports:
- "6379:6379"
registry:
image: registry:2
environment:
- REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY=/var/lib/registry
- REGISTRY_STORAGE_DELETE_ENABLED=true
volumes:
- ./data/registry:/var/lib/registry
networks:
- tsuru_net
ports:
- 5000:5000
planb:
image: tsuru/planb
command: --read-redis-host=redis --write-redis-host=redis
depends_on:
- redis
ports:
- "8989:8989"
networks:
- tsuru_net
gandalf:
image: tsuru/gandalf:latest
environment:
- MONGODB_ADDR=mongo
- MONGODB_PORT=27017
- TSURU_HOST=http://api:8080
- TSURU_TOKEN=
volumes:
- ./data/gandalf/repositories:/var/lib/gandalf/repositories
- ./data/gandalf/ssh:/home/git/.ssh
- ./misc/git-hooks:/home/git/bare-template/hooks
networks:
- tsuru_net
ports:
- "22:22"
api:
build:
context: .
dockerfile: Dockerfile.dev
ports:
- 8080:8080
depends_on:
- mongo
- gandalf
- redis
- registry
networks:
- tsuru_net
node1:
image: docker:dind
privileged: true
command: --insecure-registry 10.200.10.1:5000
ports:
- "2375:2375"
- "32768-32772:32768-32772"
networks:
- tsuru_net
service1:
build:
context: https://github.com/tsuru/eviaas.git
ports:
- 8888:8888
networks:
tsuru_net:
ipv4_address: 172.42.0.20
networks:
tsuru_net:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.42.0.0/24