* 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
30 lines
550 B
YAML
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'
|