btp c93873ab44 Added SSH Port 8154 (#226)
* Added SSH Port 8154

* Update rancher-compose.yml

* Update docker-compose.yml

* Update rancher-compose.yml
2016-08-26 12:29:46 -04:00

27 lines
631 B
YAML

gocd-server:
labels:
gocd.role: server
tty: true
image: rawmind/rancher-goserver:16.2.1-3
volumes_from:
- gocd-volume
environment:
- SERVER_MEM=${mem_initial}m
- SERVER_MAX_MEM=${mem_max}m
ports:
- ${public_port}:8153
- ${ssh_port}:8154
labels:
io.rancher.container.hostname_override: container_name
io.rancher.sidekicks: gocd-volume
gocd-volume:
net: none
labels:
io.rancher.container.hostname_override: container_name
io.rancher.container.start_once: true
volumes:
- ${volume_work}:/opt/go-server/work
volume_driver: ${volume_driver}
entrypoint: /bin/true
image: busybox