community-catalog/templates/xpilot/0/docker-compose.yml
Steve Shipway 7577a9dea3 Add XPilot X-windows game template (#128)
* Add XPilot X-windows game template.  This provides an exmaple of how to use
Rancher to manage an X-Windows client application.

* Xpilot changes to scheduling to compensate for CoreOS/Rancheros linkage issues

* Update Registry template for patched Portus container version, also add affinity rules to avoid networking issues
2016-05-15 21:05:50 -07:00

30 lines
550 B
YAML

server:
environment:
PASSWORD: ${PASSWORD}
log_driver: ''
command:
- -server
log_opt: {}
tty: false
stdin_open: false
image: sshipway/xpilot:latest
labels:
xpilot: server
client:
environment:
DISPLAY: ${DISPLAY}
NAME: ${NAME}
SERVER: xpilot
log_driver: ''
command:
- xpilot
log_opt: {}
image: sshipway/xpilot:latest
links:
- server:xpilot
tty: false
stdin_open: false
labels:
io.rancher.scheduler.affinity:container_label_soft: xpilot=server
io.rancher.container.start_once: 'true'