From 9be1a07b8c2e948e7c90390319468b64d0f92163 Mon Sep 17 00:00:00 2001 From: William Miceli <1-WilliamMiceli@users.noreply.git.williammiceli.systems> Date: Wed, 6 Feb 2019 20:21:45 -0500 Subject: [PATCH] Removed host ports, not needed --- templates/Gogs/0/docker-compose.yml | 3 --- templates/Gogs/0/rancher-compose.yml | 23 +++-------------------- 2 files changed, 3 insertions(+), 23 deletions(-) diff --git a/templates/Gogs/0/docker-compose.yml b/templates/Gogs/0/docker-compose.yml index 107da08..96029a6 100644 --- a/templates/Gogs/0/docker-compose.yml +++ b/templates/Gogs/0/docker-compose.yml @@ -41,9 +41,6 @@ services: - mysql networks: - public-proxy - ports: - - "${SSH_PORT}:22" - - "${WEB_PORT}:3000" restart: on-failure volumes: - /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system diff --git a/templates/Gogs/0/rancher-compose.yml b/templates/Gogs/0/rancher-compose.yml index 766476f..d6114a7 100644 --- a/templates/Gogs/0/rancher-compose.yml +++ b/templates/Gogs/0/rancher-compose.yml @@ -20,31 +20,14 @@ catalog: label: "Public Host Domain" description: | The host that Traefik will use to provide public access. - Leaving this empty will disable Traefik on this stack. default: "subdomain.domain.tld" - required: false - type: string - - - variable: "WEB_PORT" - label: "Local Web Port" - description: | - The port to locally access the web interface on. - default: "10500" - required: true - type: string - - - variable: "SSH_PORT" - label: "SSH Port" - description: | - The port to access the SSH server on. - default: "10522" required: true type: string - variable: "DB_ROOT_PASS" - label: "MySQL Root Password" + label: "Database Root Password" description: | - A secure password to be used by the "root" MySQL user. + A secure password to be used by the "root" database user. # default: required: true type: password @@ -52,7 +35,7 @@ catalog: - variable: "DB_USER_PASS" label: "MySQL User Password" description: | - A secure password to be used by the "gogs_user" MySQL user. + A secure password to be used by the "gogs_user" database user. # default: required: true type: password