46 lines
1009 B
YAML
46 lines
1009 B
YAML
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
|