Merge branch 'development'

# Conflicts:
#	Cool Stuff.md
#	templates/Grav/0/docker-compose.yml
This commit is contained in:
WilliamMiceli
2019-06-09 15:42:18 -04:00
32 changed files with 323 additions and 1 deletions

View File

@@ -5,6 +5,8 @@ services:
dns:
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
environment:
WEBMIN_ENABLED: ${WEBMIN_ENABLED}
{{- if eq .Values.WEBMIN_ENABLED "true"}}

View File

@@ -6,6 +6,8 @@ services:
dns: # Using Cloudflare DNS
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
labels:
io.rancher.container.pull_image: always
{{- if .Values.HOST_LABEL}}

View File

@@ -6,6 +6,8 @@ services:
dns:
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
environment:
{{- if .Values.TRAEFIK_HOST}}
node_env: production

View File

@@ -6,6 +6,8 @@ services:
dns:
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url 'https://${TRAEFIK_HOST}'

View File

@@ -6,6 +6,8 @@ services:
dns:
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
environment:
USER_UID: '1000'
USER_GID: '1000'
@@ -46,6 +48,8 @@ services:
dns:
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
environment:
POSTGRES_DB: gitea_db
POSTGRES_USER: gitea_user

View File

@@ -6,6 +6,8 @@ services:
dns: # Using Cloudflare DNS
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
labels:
io.rancher.container.pull_image: always
{{- if .Values.HOST_LABEL}}
@@ -29,4 +31,4 @@ services:
- /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system
- /Rancher/${DATA_DIR}/Backups:/var/www/backup # Backups
- /Rancher/${DATA_DIR}/Images:/var/www/images # Images
- /Rancher/${DATA_DIR}/User:/var/www/user # User Data
- /Rancher/${DATA_DIR}/User:/var/www/user # User Data

View File

@@ -6,6 +6,8 @@ services:
dns:
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
environment:
GUACD_HOSTNAME: guacd
MYSQL_HOSTNAME: mysql
@@ -58,6 +60,8 @@ services:
dns:
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
environment:
MYSQL_DATABASE: guacamole_db
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS}

View File

@@ -6,6 +6,8 @@ services:
dns:
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
labels:
io.rancher.container.pull_image: always
{{- if .Values.HOST_LABEL}}

View File

@@ -6,6 +6,8 @@ services:
dns:
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
labels:
io.rancher.container.pull_image: always
{{- if (.Values.HOST_LABEL)}}
@@ -26,6 +28,8 @@ services:
dns:
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
entrypoint: |
bash -c 'bash -s <<EOF
trap "break;exit" SIGHUP SIGINT SIGTERM
@@ -52,6 +56,8 @@ services:
dns:
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
environment:
MYSQL_DATABASE: ninja_db
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS}
@@ -73,6 +79,8 @@ services:
dns:
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
labels:
io.rancher.container.pull_image: always
{{- if .Values.HOST_LABEL}}

View File

@@ -6,6 +6,8 @@ services:
dns: # Using Cloudflare DNS
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
labels:
io.rancher.container.pull_image: always
{{- if .Values.HOST_LABEL}}

View File

@@ -0,0 +1 @@
# Joomla

View File

@@ -0,0 +1,62 @@
version: '2'
services:
joomla:
image: williammiceli/joomla:${IMAGE_VERSION}
dns: # Using Cloudflare DNS
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
environment:
JOOMLA_DB_HOST: mysql
JOOMLA_DB_NAME: joomla_db
JOOMLA_DB_USER: joomla_user
JOOMLA_DB_PASSWORD: ${DB_USER_PASS}
labels:
io.rancher.container.pull_image: always
{{- if .Values.HOST_LABEL}}
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
{{- end}}
traefik.enable: true
### Start Joomla Segment
traefik.frontend.entryPoints: http,https
traefik.frontend.headers.forceSTSHeader: true
traefik.frontend.headers.referrerPolicy: no-referrer # Security enhancement (Prevents leaking of referer information)
traefik.frontend.headers.SSLRedirect: true
traefik.frontend.headers.STSPreload: true
traefik.frontend.headers.STSSeconds: 15552000
traefik.frontend.passHostHeader: true
traefik.frontend.rule: Host:${TRAEFIK_HOST}
traefik.port: "80"
### End Joomla Segment
links:
- mysql
restart: on-failure
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
- /Rancher/${DATA_DIR}/Files:/var/www/html # Joomla Public Files
mysql:
image: mysql:5
dns: # Using Cloudflare DNS
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
environment:
MYSQL_DATABASE: joomla_db
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS}
MYSQL_USER: joomla_user
MYSQL_PASSWORD: ${DB_USER_PASS}
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
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
- /Rancher/${DATA_DIR}/Database:/var/lib/mysql # MySQL data

View File

@@ -0,0 +1,59 @@
version: '2'
catalog:
name: Joomla
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 database user.
# default:
required: true
type: password
- variable: "IMAGE_VERSION"
label: "Image Version"
description: |
What version of the image should be used.
# default:
required: true
type: enum
options:
- php7.3
- variable: "DATA_DIR"
label: "Data Directory"
description: |
The directory to store persistent data for the stack.
default: "Personal/Joomla"
required: true
type: string

View File

@@ -0,0 +1,8 @@
name: Joomla
description: |
version: latest
# category:
maintainer: WilliamMiceli
# license:
# projectURL:

View File

@@ -24,6 +24,8 @@ services:
dns: # Using Cloudflare DNS
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
environment:
MYSQL_HOST: mysql
MYSQL_DATABASE: nextcloud_db
@@ -68,6 +70,8 @@ services:
dns: # Using Cloudflare DNS
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
environment:
MYSQL_DATABASE: nextcloud_db
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS}
@@ -90,6 +94,8 @@ services:
dns: # Using Cloudflare DNS
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
labels:
io.rancher.container.pull_image: always
{{- if .Values.HOST_LABEL}}

View File

@@ -6,6 +6,8 @@ services:
dns: # Using Cloudflare DNS
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
labels:
io.rancher.container.pull_image: always
{{- if .Values.HOST_LABEL}}

View File

@@ -6,6 +6,8 @@ services:
dns:
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
labels:
io.rancher.container.pull_image: always
{{- if .Values.HOST_LABEL}}

View File

@@ -6,6 +6,8 @@ services:
dns:
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
environment:
PMA_ARBITRARY: 1 # Allows the user to specify any arbitrary server using address/hostname and port
{{- if or .Values.SERVICE_LINK_1 .Values.SERVICE_LINK_2 .Values.SERVICE_LINK_3}}

View File

@@ -6,6 +6,8 @@ services:
dns: # Using Cloudflare DNS
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
environment:
CELLS_BIND: "localhost:80"
CELLS_EXTERNAL: "${TRAEFIK_HOST}:443"
@@ -39,6 +41,8 @@ services:
dns: # Using Cloudflare DNS
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
environment:
MYSQL_DATABASE: cells_db
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS}

View File

@@ -6,6 +6,8 @@ services:
dns: # Using Cloudflare DNS
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
labels:
io.rancher.container.pull_image: always
{{- if .Values.HOST_LABEL}}

View File

@@ -6,6 +6,8 @@ services:
dns: # Using Cloudflare DNS
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
environment:
ROCKETCHAT_URL: hubot.${TRAEFIK_HOST}
ROCKETCHAT_ROOM: GENERAL
@@ -40,6 +42,8 @@ services:
dns: # Using Cloudflare DNS
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
labels:
io.rancher.container.pull_image: always
{{- if .Values.HOST_LABEL}}
@@ -57,6 +61,8 @@ services:
dns: # Using Cloudflare DNS
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
environment:
MONGO_URL: mongodb://mongo:27017/rocketchat
ROOT_URL: https://${TRAEFIK_HOST}

View File

@@ -6,6 +6,8 @@ services:
dns:
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
environment:
APP_ENV: production # [ development | production ]
APP_DEBUG: false
@@ -45,6 +47,8 @@ services:
dns:
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
environment:
MYSQL_DATABASE: snipeit_db
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS}

View File

@@ -7,6 +7,8 @@ services:
dns:
- 1.1.1.1 # Cloudflare Public DNS 1
- 1.0.0.1 # Cloudflare Public DNS 2
- 2606:4700:4700::1111
- 2606:4700:4700::1001
labels:
io.rancher.container.agent.role: environment
io.rancher.container.create_agent: true

View File

@@ -7,6 +7,8 @@ services:
dns: # Using Cloudflare DNS
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
environment:
MONGO_LOG_DIR: /dev/null
labels:
@@ -25,6 +27,8 @@ services:
dns: # Using Cloudflare DNS
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
environment:
WIKI_ADMIN_EMAIL: ${ADMIN_EMAIL}
labels:

View File

@@ -6,6 +6,8 @@ services:
dns:
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
environment:
WORDPRESS_DB_HOST: mysql
WORDPRESS_DB_NAME: wordpress_db
@@ -40,6 +42,8 @@ services:
dns:
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
environment:
MYSQL_DATABASE: wordpress_db
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS}

View File

@@ -6,6 +6,8 @@ services:
dns:
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
environment:
DB_HOST: postgresql
DB_DATABASE: xwiki_db
@@ -42,6 +44,8 @@ services:
dns:
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
environment:
POSTGRES_INITDB_ARGS: "--encoding=UTF8"
POSTGRES_DB: xwiki_db

View File

@@ -6,6 +6,8 @@ services:
dns: # Using Cloudflare DNS
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
environment:
YOURLS_DB_HOST: mysql
YOURLS_DB_NAME: yourls_db
@@ -39,6 +41,8 @@ services:
dns: # Using Cloudflare DNS
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
environment:
MYSQL_DATABASE: yourls_db
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS}

View File

@@ -0,0 +1,5 @@
# sysPass
[http://syspass.org/en]
[https://doc.syspass.org/en/3.0/]

View File

@@ -0,0 +1,55 @@
version: '2'
services:
syspass:
image: syspass/syspass:3.0.5
dns: # Using Cloudflare DNS
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
labels:
io.rancher.container.pull_image: always
{{- if .Values.HOST_LABEL}}
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
{{- end}}
traefik.enable: true
### Start Web Segment
traefik.frontend.entryPoints: http,https
traefik.frontend.headers.forceSTSHeader: true
traefik.frontend.headers.referrerPolicy: no-referrer # Security enhancement (Prevents leaking of referer information)
traefik.frontend.headers.SSLRedirect: true
traefik.frontend.headers.STSPreload: true
traefik.frontend.headers.STSSeconds: 15552000
traefik.frontend.passHostHeader: true
traefik.frontend.rule: Host:${TRAEFIK_HOST}
traefik.port: "80"
### End Web Segment
links:
- mysql
restart: on-failure
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
- /Rancher/${DATA_DIR}/Configuration:/var/www/html/sysPass/app/config # sysPass configuration files
- /Rancher/${DATA_DIR}/Backups:/var/www/html/sysPass/app/backup # sysPass backups
mysql:
image: mysql:5
dns: # Using Cloudflare DNS
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
environment:
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS}
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
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
- /Rancher/${DATA_DIR}/Database:/var/lib/mysql # MySQL database files

View File

@@ -0,0 +1,41 @@
version: '2'
catalog:
name: sysPass
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: "DATA_DIR"
label: "Data Directory"
description: |
The directory to store persistent data for the stack.
default: "Personal/sysPass"
required: true
type: string

View File

@@ -0,0 +1,8 @@
name: sysPass
description: |
version: latest
# category:
maintainer: WilliamMiceli
# license:
# projectURL: