making fixes per rawmind0's suggestions

This commit is contained in:
William Jimenez 2017-12-19 16:09:52 -08:00
parent 729906f15d
commit 3b07fe5a1b
2 changed files with 31 additions and 27 deletions

View File

@ -11,7 +11,6 @@ services:
stdin_open: true stdin_open: true
tty: true tty: true
ports: ports:
- 5050:5050/tcp - ${PUBLISH_PORT}:5050/tcp
labels: labels:
io.rancher.container.pull_image: always
io.rancher.scheduler.global: 'true' io.rancher.scheduler.global: 'true'

View File

@ -30,6 +30,11 @@ catalog:
description: | Version of the Docker API to use (storage checks only) description: | Version of the Docker API to use (storage checks only)
type: string type: string
default: 1.24 default: 1.24
- variable: PUBLISH_PORT
label: PUBLISH_PORT
description: | Port to publish the service.
type: int
default: 5050
services: services:
cowcheck: cowcheck:
start_on_create: true start_on_create: true