forked from rancher/community-catalog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (41 loc) · 1009 Bytes
/
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
drone-lb:
ports:
- ${public_port}:8000
tty: true
image: rancher/load-balancer-service
links:
- drone-server:drone-server
stdin_open: true
drone-healthcheck:
image: rancher/drone-config:v0.1.0
net: 'container:drone-server'
volumes_from:
- drone-data-volume
entrypoint: /giddyup health
drone-server:
image: rancher/drone-config:v0.1.0
volumes_from:
- drone-data-volume
labels:
io.rancher.sidekicks: drone-data-volume,drone-daemon,drone-healthcheck
external_links:
- ${database_service}:database
drone-daemon:
image: rancher/drone:0.4
net: 'container:drone-server'
volumes:
- /var/run/docker.sock:/var/run/docker.sock
volumes_from:
- drone-data-volume
entrypoint: /opt/rancher/rancher_entry.sh
## Do not change below. Could cause data loss in upgrade.
drone-data-volume:
image: busybox
net: none
command: /bin/true
labels:
io.rancher.container.start_once: 'true'
volumes:
- /var/lib/drone
- /etc/drone
- /opt/rancher