diff --git a/templates/RocketChat/0/docker-compose.yml b/templates/RocketChat/0/docker-compose.yml index 4e68348..439514f 100644 --- a/templates/RocketChat/0/docker-compose.yml +++ b/templates/RocketChat/0/docker-compose.yml @@ -7,7 +7,7 @@ services: - 1.1.1.1 - 1.0.0.1 environment: - ROCKETCHAT_URL: ${TRAEFIK_HOST} + ROCKETCHAT_URL: hubot.${TRAEFIK_HOST} ROCKETCHAT_ROOM: GENERAL ROCKETCHAT_USER: Hubot ROCKETCHAT_PASSWORD: BotPassw0rd @@ -32,9 +32,6 @@ services: ### End Hubot Segment links: - rocketchat:rocketchat - # this is used to expose the hubot port for notifications on the host on port 3001, e.g. for hubot-jenkins-notifier - ports: - - 3001:8080 mongo: image: mongo:latest dns: # Using Cloudflare DNS @@ -47,8 +44,8 @@ services: {{- end}} traefik.enable: false volumes: - - ./data/runtime/db:/data/db - - ./data/dump:/dump + - /RancherCattle/${DATA_DIR}/Database/Data:/data/db + - /RancherCattle/${DATA_DIR}/Database/Dump:/dump command: mongod --smallfiles rocketchat: image: rocketchat/rocket.chat:latest diff --git a/templates/RocketChat/0/rancher-compose.yml b/templates/RocketChat/0/rancher-compose.yml index 44d65d9..f425f50 100644 --- a/templates/RocketChat/0/rancher-compose.yml +++ b/templates/RocketChat/0/rancher-compose.yml @@ -6,7 +6,28 @@ catalog: # minimum_rancher_version: # maximum_rancher_version: # upgrade_from: - uuid: rocketchat-0 questions: -rocketchat: \ No newline at end of file + - variable: "HOST_LABEL" + label: "Host Label Key/Value Pair" + description: | + The Label Key/Value pair of the host which containers should be deployed + default: "host.id=Host1" + required: false + type: string + + - variable: "TRAEFIK_HOST" + label: "Public Host Domain" + description: | + The host that Traefik will use to provide public access. + default: "subdomain.domain.tld" + required: true + type: string + + - variable: "DATA_DIR" + label: "Data Directory" + description: | + The directory to store persistent data for the stack. + default: "Personal/RocketChat" + required: true + type: string \ No newline at end of file