From 1e87080625369119471c7db7bcdc12bc5f07da83 Mon Sep 17 00:00:00 2001 From: WilliamMiceli Date: Tue, 28 May 2019 21:05:38 -0400 Subject: [PATCH] Got rid of some apps to do later --- templates/Matomo/0/README.md | 1 - templates/Matomo/0/docker-compose.yml | 25 ------ templates/Matomo/0/rancher-compose.yml | 49 ----------- templates/Matomo/config.yml | 8 -- templates/Mongo/0/README.md | 5 -- templates/Mongo/0/docker-compose.yml | 34 -------- templates/Mongo/0/rancher-compose.yml | 45 ---------- templates/Mongo/config.yml | 8 -- templates/Turtl/0/README.md | 1 - templates/Turtl/0/docker-compose.yml | 34 -------- templates/Turtl/0/rancher-compose.yml | 110 ------------------------- templates/Turtl/catalogIcon-turtl.svg | 1 - templates/Turtl/config.yml | 8 -- 13 files changed, 329 deletions(-) delete mode 100644 templates/Matomo/0/README.md delete mode 100644 templates/Matomo/0/docker-compose.yml delete mode 100644 templates/Matomo/0/rancher-compose.yml delete mode 100644 templates/Matomo/config.yml delete mode 100644 templates/Mongo/0/README.md delete mode 100644 templates/Mongo/0/docker-compose.yml delete mode 100644 templates/Mongo/0/rancher-compose.yml delete mode 100644 templates/Mongo/config.yml delete mode 100644 templates/Turtl/0/README.md delete mode 100644 templates/Turtl/0/docker-compose.yml delete mode 100644 templates/Turtl/0/rancher-compose.yml delete mode 100644 templates/Turtl/catalogIcon-turtl.svg delete mode 100644 templates/Turtl/config.yml diff --git a/templates/Matomo/0/README.md b/templates/Matomo/0/README.md deleted file mode 100644 index 5b5a6d1..0000000 --- a/templates/Matomo/0/README.md +++ /dev/null @@ -1 +0,0 @@ -# Matomo \ No newline at end of file diff --git a/templates/Matomo/0/docker-compose.yml b/templates/Matomo/0/docker-compose.yml deleted file mode 100644 index 35751a4..0000000 --- a/templates/Matomo/0/docker-compose.yml +++ /dev/null @@ -1,25 +0,0 @@ -version: "2" - -services: - matomo: - image: matomo:3.5-apache - restart: always - links: - - db - volumes: - - "./config:/var/www/html/config:rw" - - "./logs:/var/www/html/logs" - environment: - VIRTUAL_HOST: CHANGE_ME - ports: - - "80:80" - - db: - image: mariadb:latest - volumes: - - ./mysql/runtime2:/var/lib/mysql - environment: - MYSQL_DATABASE: matomo_db - MYSQL_ROOT_PASSWORD: CHANGE_ME - MYSQL_USER: matomo_user - MYSQL_PASSWORD: CHANGE_ME \ No newline at end of file diff --git a/templates/Matomo/0/rancher-compose.yml b/templates/Matomo/0/rancher-compose.yml deleted file mode 100644 index 4b547a8..0000000 --- a/templates/Matomo/0/rancher-compose.yml +++ /dev/null @@ -1,49 +0,0 @@ -version: '2' -catalog: - name: Matomo - version: latest - # description: - # minimum_rancher_version: - # maximum_rancher_version: - # upgrade_from: - questions: - - - 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: "DB_ROOT_PASS" - label: "Database Root Password" - description: | - A secure password to be used by the "root" database user. - # default: - required: true - type: password - - - variable: "DB_USER_PASS" - label: "Database User Password" - description: | - A secure password to be used by the "matomo_user" database user. - # default: - required: true - type: password - - - variable: "DATA_DIR" - label: "Data Directory" - description: | - The directory to store persistent data for the stack. - default: "Personal/Matomo" - required: true - type: string \ No newline at end of file diff --git a/templates/Matomo/config.yml b/templates/Matomo/config.yml deleted file mode 100644 index e21b6da..0000000 --- a/templates/Matomo/config.yml +++ /dev/null @@ -1,8 +0,0 @@ -name: Matomo -description: | - Status: NOT READY -version: latest -# category: -maintainer: WilliamMiceli -# license: -# projectURL: \ No newline at end of file diff --git a/templates/Mongo/0/README.md b/templates/Mongo/0/README.md deleted file mode 100644 index 4aac4b1..0000000 --- a/templates/Mongo/0/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# MongoDB - -## Mongo Express - -[https://github.com/mongo-express/mongo-express] \ No newline at end of file diff --git a/templates/Mongo/0/docker-compose.yml b/templates/Mongo/0/docker-compose.yml deleted file mode 100644 index 171eb30..0000000 --- a/templates/Mongo/0/docker-compose.yml +++ /dev/null @@ -1,34 +0,0 @@ -version: '2' - -services: - mongo: - image: mongo:${IMAGE_TAG} - dns: # Using Cloudflare DNS - - 1.1.1.1 - - 1.0.0.1 - labels: - io.rancher.container.pull_image: always - {{- if .Values.HOST_LABEL}} - io.rancher.scheduler.affinity:host_label: ${HOST_LABEL} - {{- end}} - traefik.enable: false - restart: on-failure - stdin_open: true - tty: true - volumes: - - /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system - - /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system - {{- if .Values.DATA_DIR}} - {{- if eq .Values.CUSTOM_CONF "true"}} - - /RancherCattle/${DATA_DIR}/Configuration:/etc/mongo - {{- end}} - - /RancherCattle/${DATA_DIR}/Data:/data/db - {{- end}} - mongo-express: - image: mongo-express - restart: always - ports: - - 8081:8081 - environment: - ME_CONFIG_MONGODB_ADMINUSERNAME: root - ME_CONFIG_MONGODB_ADMINPASSWORD: example \ No newline at end of file diff --git a/templates/Mongo/0/rancher-compose.yml b/templates/Mongo/0/rancher-compose.yml deleted file mode 100644 index 0c24d37..0000000 --- a/templates/Mongo/0/rancher-compose.yml +++ /dev/null @@ -1,45 +0,0 @@ -version: '2' -catalog: - name: Mongo - version: latest - # description: - # minimum_rancher_version: - # maximum_rancher_version: - # upgrade_from: - # uuid: - questions: - - - variable: "HOST_LABEL" - label: "Host Label Key/Value Pair" - description: | - The Key/Value pair on the host which the stack should be deployed. - default: "host.id=Host1" - required: false - type: string - - - variable: "IMAGE_TAG" - label: "Image Tag" - description: | - The image tag to use for the desired container variant. - default: "latest" - required: true - type: enum - options: - - "latest" - - - variable: "CUSTOM_CONF" - label: "Custom Configuration" - description: | - Whether a custom configuration file should be mounted from the persistent data directory or not. Data Directory is required for this. - default: false - required: true - type: boolean - - - variable: "DATA_DIR" - label: "Data Directory" - description: | - The directory to store persistent data for the stack. - Leaving this blank will disable persistent data storage for the stack. - default: "Personal/Mongo" - required: false - type: string diff --git a/templates/Mongo/config.yml b/templates/Mongo/config.yml deleted file mode 100644 index 4559ad2..0000000 --- a/templates/Mongo/config.yml +++ /dev/null @@ -1,8 +0,0 @@ -name: Mongo -description: | - MongoDB is a cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with schemata. -version: latest -# category: -maintainer: WilliamMiceli -# license: -# projectURL: \ No newline at end of file diff --git a/templates/Turtl/0/README.md b/templates/Turtl/0/README.md deleted file mode 100644 index 874cefe..0000000 --- a/templates/Turtl/0/README.md +++ /dev/null @@ -1 +0,0 @@ -# Turtl \ No newline at end of file diff --git a/templates/Turtl/0/docker-compose.yml b/templates/Turtl/0/docker-compose.yml deleted file mode 100644 index 3a129a4..0000000 --- a/templates/Turtl/0/docker-compose.yml +++ /dev/null @@ -1,34 +0,0 @@ -turtl-api-data: - labels: - io.rancher.container.start_once: 'true' - entrypoint: - - /bin/true - image: busybox - volumes: - - /opt/api/uploads - - /var/lib/rethinkdb/instance1 - -turtl-api: - ports: - - 8181:8181/tcp - environment: - DISPLAY_ERRORS: ${DISPLAY_ERRORS} - FQDN: ${FQDN} - SITE_URL: ${SITE_URL} - LOCAL_UPLOAD_URL: ${LOCAL_UPLOAD_URL} - LOCAL_UPLOAD_PATH: ${LOCAL_UPLOAD_PATH} - AWS_S3_TOKEN: ${AWS_S3_TOKEN} - ADMIN_EMAIL: ${ADMIN_EMAIL} - EMAIL_FROM: ${EMAIL_FROM} - SMTP_USER: ${SMTP_USER} - SMTP_PASS: ${SMTP_PASS} - DEFAULT_STORAGE_LIMIT: ${DEFAULT_STORAGE_LIMIT} - STORAGE_INVITE_CREDIT: ${STORAGE_INVITE_CREDIT} - image: webofmars/turtl-docker:latest - stdin_open: true - tty: true - labels: - io.rancher.container.pull_image: always - io.rancher.sidekicks: turtl-api-data - volumes_from: - - turtl-api-data \ No newline at end of file diff --git a/templates/Turtl/0/rancher-compose.yml b/templates/Turtl/0/rancher-compose.yml deleted file mode 100644 index 5bc83d3..0000000 --- a/templates/Turtl/0/rancher-compose.yml +++ /dev/null @@ -1,110 +0,0 @@ -version: '2' -catalog: - name: Turtl - version: latest - # description: - # minimum_rancher_version: - # maximum_rancher_version: - # upgrade_from: - questions: - - - variable: "DISPLAY_ERRORS" - descrition: "Display errors" - label: "Display errors: " - required: false - default: "t" - type: "string" - - - variable: "FQDN" - description: "Fully Qualified Domain Name (ex: 'notes.example.com')." - label: "fqdn" - required: true - default: "turtl.local" - type: "string" - - - variable: "SITE_URL" - description: "The uri used to access the turtl api" - label: "site url" - required: true - default: "http://turtl.local" - type: "string" - - - variable: "LOCAL_UPLOAD_PATH" - description: "The local path of the uploaded content." - label: "uploads local path" - required: false - default: "" - type: "string" - - - variable: "LOCAL_UPLOAD_URL" - description: "The urls used to retrieve uploaded content. Must be set if you change LOCAL_UPLOAD_PATH. (ex: http://turtl.local)" - label: "local upload url" - required: false - default: "" - type: "string" - - - variable: "AWS_S3_TOKEN" - description: | - Amazon Web Services S3 token. Used only if you use S3 as a storage backend. ex : (:token '' - secret '' - bucket '' - endpoint 'https://s3.amazonaws.com') - label: "AWS S3 token" - required: false - default: "" - type: "string" - - - variable: "ADMIN_EMAIL" - description: "email adresse of administrator ex: admin@example.com" - label: "Admin e-mail" - required: false - default: "" - type: "string" - - - variable: "EMAIL_FROM" - description: "The e-mail adress used to send the e-mail from turtl to users." - label: "e-mail from" - required: false - default: "" - type: "string" - - - variable: "SMTP_USER" - description: "The user used to authenticate to the smtp server. Can be blank." - label: "smtp user" - required: false - default: "" - type: "string" - - - variable: "SMTP_PASS" - description: "The password used to authenticate to the smtp server. Can be blank." - label: "smtp password" - required: false - default: "" - type: "string" - - - variable: "STORAGE_INVITE_CREDIT" - description: "The number of MB a user gain when he invites someone" - label: "storage invite credit" - required: false - default: "" - type: "int" - - - variable: "DEFAULT_STORAGE_LIMIT" - description: "Maximum storage space (in MB) that can be used by a single user (ex: 1000)" - label: "Default Storage Limit" - required: false - default: "" - type: "int" - -turtl-api-data: - scale: 1 -turtl-api: - scale: 1 - health_check: - port: 8181 - interval: 2000 - initializing_timeout: 300000 - unhealthy_threshold: 10 - strategy: recreate - response_timeout: 2000 - healthy_threshold: 2 \ No newline at end of file diff --git a/templates/Turtl/catalogIcon-turtl.svg b/templates/Turtl/catalogIcon-turtl.svg deleted file mode 100644 index b0a8b87..0000000 --- a/templates/Turtl/catalogIcon-turtl.svg +++ /dev/null @@ -1 +0,0 @@ -catalogIcon-turtlTURTLW \ No newline at end of file diff --git a/templates/Turtl/config.yml b/templates/Turtl/config.yml deleted file mode 100644 index 40a4c5a..0000000 --- a/templates/Turtl/config.yml +++ /dev/null @@ -1,8 +0,0 @@ -name: Turtl -description: | - Status: NOT READY -# version: -category: Productivity -maintainer: WilliamMiceli -# license: -# projectURL: https://github.com/webofmars/turtl-docker \ No newline at end of file