Merge branch 'development'
# Conflicts: # Cool Stuff.md # templates/Grav/0/docker-compose.yml
This commit is contained in:
@@ -46,6 +46,7 @@
|
|||||||
[https://getcockpit.com/]
|
[https://getcockpit.com/]
|
||||||
[https://hub.docker.com/r/agentejo/cockpit]
|
[https://hub.docker.com/r/agentejo/cockpit]
|
||||||
[https://hub.docker.com/r/homeassistant/home-assistant]
|
[https://hub.docker.com/r/homeassistant/home-assistant]
|
||||||
|
|
||||||
- Factorio
|
- Factorio
|
||||||
- Eclipse Theia
|
- Eclipse Theia
|
||||||
- Joomla
|
- Joomla
|
||||||
@@ -55,6 +56,12 @@
|
|||||||
- Transmission
|
- Transmission
|
||||||
- YOURLS
|
- YOURLS
|
||||||
|
|
||||||
|
[https://www.silverstripe.com/]
|
||||||
|
|
||||||
|
[https://www.mautic.org/](https://www.mautic.org/)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
###### GitLab Runner
|
###### GitLab Runner
|
||||||
|
|
||||||
[https://docs.gitlab.com/runner/install/docker.html]
|
[https://docs.gitlab.com/runner/install/docker.html]
|
||||||
|
|||||||
@@ -5,6 +5,8 @@ services:
|
|||||||
dns:
|
dns:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
environment:
|
environment:
|
||||||
WEBMIN_ENABLED: ${WEBMIN_ENABLED}
|
WEBMIN_ENABLED: ${WEBMIN_ENABLED}
|
||||||
{{- if eq .Values.WEBMIN_ENABLED "true"}}
|
{{- if eq .Values.WEBMIN_ENABLED "true"}}
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ services:
|
|||||||
dns: # Using Cloudflare DNS
|
dns: # Using Cloudflare DNS
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.pull_image: always
|
io.rancher.container.pull_image: always
|
||||||
{{- if .Values.HOST_LABEL}}
|
{{- if .Values.HOST_LABEL}}
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ services:
|
|||||||
dns:
|
dns:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
environment:
|
environment:
|
||||||
{{- if .Values.TRAEFIK_HOST}}
|
{{- if .Values.TRAEFIK_HOST}}
|
||||||
node_env: production
|
node_env: production
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ services:
|
|||||||
dns:
|
dns:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
environment:
|
environment:
|
||||||
GITLAB_OMNIBUS_CONFIG: |
|
GITLAB_OMNIBUS_CONFIG: |
|
||||||
external_url 'https://${TRAEFIK_HOST}'
|
external_url 'https://${TRAEFIK_HOST}'
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ services:
|
|||||||
dns:
|
dns:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
environment:
|
environment:
|
||||||
USER_UID: '1000'
|
USER_UID: '1000'
|
||||||
USER_GID: '1000'
|
USER_GID: '1000'
|
||||||
@@ -46,6 +48,8 @@ services:
|
|||||||
dns:
|
dns:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: gitea_db
|
POSTGRES_DB: gitea_db
|
||||||
POSTGRES_USER: gitea_user
|
POSTGRES_USER: gitea_user
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ services:
|
|||||||
dns: # Using Cloudflare DNS
|
dns: # Using Cloudflare DNS
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.pull_image: always
|
io.rancher.container.pull_image: always
|
||||||
{{- if .Values.HOST_LABEL}}
|
{{- if .Values.HOST_LABEL}}
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ services:
|
|||||||
dns:
|
dns:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
environment:
|
environment:
|
||||||
GUACD_HOSTNAME: guacd
|
GUACD_HOSTNAME: guacd
|
||||||
MYSQL_HOSTNAME: mysql
|
MYSQL_HOSTNAME: mysql
|
||||||
@@ -58,6 +60,8 @@ services:
|
|||||||
dns:
|
dns:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
environment:
|
environment:
|
||||||
MYSQL_DATABASE: guacamole_db
|
MYSQL_DATABASE: guacamole_db
|
||||||
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS}
|
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS}
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ services:
|
|||||||
dns:
|
dns:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.pull_image: always
|
io.rancher.container.pull_image: always
|
||||||
{{- if .Values.HOST_LABEL}}
|
{{- if .Values.HOST_LABEL}}
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ services:
|
|||||||
dns:
|
dns:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.pull_image: always
|
io.rancher.container.pull_image: always
|
||||||
{{- if (.Values.HOST_LABEL)}}
|
{{- if (.Values.HOST_LABEL)}}
|
||||||
@@ -26,6 +28,8 @@ services:
|
|||||||
dns:
|
dns:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
entrypoint: |
|
entrypoint: |
|
||||||
bash -c 'bash -s <<EOF
|
bash -c 'bash -s <<EOF
|
||||||
trap "break;exit" SIGHUP SIGINT SIGTERM
|
trap "break;exit" SIGHUP SIGINT SIGTERM
|
||||||
@@ -52,6 +56,8 @@ services:
|
|||||||
dns:
|
dns:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
environment:
|
environment:
|
||||||
MYSQL_DATABASE: ninja_db
|
MYSQL_DATABASE: ninja_db
|
||||||
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS}
|
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS}
|
||||||
@@ -73,6 +79,8 @@ services:
|
|||||||
dns:
|
dns:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.pull_image: always
|
io.rancher.container.pull_image: always
|
||||||
{{- if .Values.HOST_LABEL}}
|
{{- if .Values.HOST_LABEL}}
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ services:
|
|||||||
dns: # Using Cloudflare DNS
|
dns: # Using Cloudflare DNS
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.pull_image: always
|
io.rancher.container.pull_image: always
|
||||||
{{- if .Values.HOST_LABEL}}
|
{{- if .Values.HOST_LABEL}}
|
||||||
|
|||||||
1
templates/Joomla/0/README.md
Normal file
1
templates/Joomla/0/README.md
Normal file
@@ -0,0 +1 @@
|
|||||||
|
# Joomla
|
||||||
62
templates/Joomla/0/docker-compose.yml
Normal file
62
templates/Joomla/0/docker-compose.yml
Normal 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
|
||||||
59
templates/Joomla/0/rancher-compose.yml
Normal file
59
templates/Joomla/0/rancher-compose.yml
Normal 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
|
||||||
8
templates/Joomla/config.yml
Normal file
8
templates/Joomla/config.yml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
name: Joomla
|
||||||
|
description: |
|
||||||
|
|
||||||
|
version: latest
|
||||||
|
# category:
|
||||||
|
maintainer: WilliamMiceli
|
||||||
|
# license:
|
||||||
|
# projectURL:
|
||||||
@@ -24,6 +24,8 @@ services:
|
|||||||
dns: # Using Cloudflare DNS
|
dns: # Using Cloudflare DNS
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
environment:
|
environment:
|
||||||
MYSQL_HOST: mysql
|
MYSQL_HOST: mysql
|
||||||
MYSQL_DATABASE: nextcloud_db
|
MYSQL_DATABASE: nextcloud_db
|
||||||
@@ -68,6 +70,8 @@ services:
|
|||||||
dns: # Using Cloudflare DNS
|
dns: # Using Cloudflare DNS
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
environment:
|
environment:
|
||||||
MYSQL_DATABASE: nextcloud_db
|
MYSQL_DATABASE: nextcloud_db
|
||||||
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS}
|
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS}
|
||||||
@@ -90,6 +94,8 @@ services:
|
|||||||
dns: # Using Cloudflare DNS
|
dns: # Using Cloudflare DNS
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.pull_image: always
|
io.rancher.container.pull_image: always
|
||||||
{{- if .Values.HOST_LABEL}}
|
{{- if .Values.HOST_LABEL}}
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ services:
|
|||||||
dns: # Using Cloudflare DNS
|
dns: # Using Cloudflare DNS
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.pull_image: always
|
io.rancher.container.pull_image: always
|
||||||
{{- if .Values.HOST_LABEL}}
|
{{- if .Values.HOST_LABEL}}
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ services:
|
|||||||
dns:
|
dns:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.pull_image: always
|
io.rancher.container.pull_image: always
|
||||||
{{- if .Values.HOST_LABEL}}
|
{{- if .Values.HOST_LABEL}}
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ services:
|
|||||||
dns:
|
dns:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
environment:
|
environment:
|
||||||
PMA_ARBITRARY: 1 # Allows the user to specify any arbitrary server using address/hostname and port
|
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}}
|
{{- if or .Values.SERVICE_LINK_1 .Values.SERVICE_LINK_2 .Values.SERVICE_LINK_3}}
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ services:
|
|||||||
dns: # Using Cloudflare DNS
|
dns: # Using Cloudflare DNS
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
environment:
|
environment:
|
||||||
CELLS_BIND: "localhost:80"
|
CELLS_BIND: "localhost:80"
|
||||||
CELLS_EXTERNAL: "${TRAEFIK_HOST}:443"
|
CELLS_EXTERNAL: "${TRAEFIK_HOST}:443"
|
||||||
@@ -39,6 +41,8 @@ services:
|
|||||||
dns: # Using Cloudflare DNS
|
dns: # Using Cloudflare DNS
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
environment:
|
environment:
|
||||||
MYSQL_DATABASE: cells_db
|
MYSQL_DATABASE: cells_db
|
||||||
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS}
|
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS}
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ services:
|
|||||||
dns: # Using Cloudflare DNS
|
dns: # Using Cloudflare DNS
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.pull_image: always
|
io.rancher.container.pull_image: always
|
||||||
{{- if .Values.HOST_LABEL}}
|
{{- if .Values.HOST_LABEL}}
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ services:
|
|||||||
dns: # Using Cloudflare DNS
|
dns: # Using Cloudflare DNS
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
environment:
|
environment:
|
||||||
ROCKETCHAT_URL: hubot.${TRAEFIK_HOST}
|
ROCKETCHAT_URL: hubot.${TRAEFIK_HOST}
|
||||||
ROCKETCHAT_ROOM: GENERAL
|
ROCKETCHAT_ROOM: GENERAL
|
||||||
@@ -40,6 +42,8 @@ services:
|
|||||||
dns: # Using Cloudflare DNS
|
dns: # Using Cloudflare DNS
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.pull_image: always
|
io.rancher.container.pull_image: always
|
||||||
{{- if .Values.HOST_LABEL}}
|
{{- if .Values.HOST_LABEL}}
|
||||||
@@ -57,6 +61,8 @@ services:
|
|||||||
dns: # Using Cloudflare DNS
|
dns: # Using Cloudflare DNS
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
environment:
|
environment:
|
||||||
MONGO_URL: mongodb://mongo:27017/rocketchat
|
MONGO_URL: mongodb://mongo:27017/rocketchat
|
||||||
ROOT_URL: https://${TRAEFIK_HOST}
|
ROOT_URL: https://${TRAEFIK_HOST}
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ services:
|
|||||||
dns:
|
dns:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
environment:
|
environment:
|
||||||
APP_ENV: production # [ development | production ]
|
APP_ENV: production # [ development | production ]
|
||||||
APP_DEBUG: false
|
APP_DEBUG: false
|
||||||
@@ -45,6 +47,8 @@ services:
|
|||||||
dns:
|
dns:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
environment:
|
environment:
|
||||||
MYSQL_DATABASE: snipeit_db
|
MYSQL_DATABASE: snipeit_db
|
||||||
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS}
|
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS}
|
||||||
|
|||||||
@@ -7,6 +7,8 @@ services:
|
|||||||
dns:
|
dns:
|
||||||
- 1.1.1.1 # Cloudflare Public DNS 1
|
- 1.1.1.1 # Cloudflare Public DNS 1
|
||||||
- 1.0.0.1 # Cloudflare Public DNS 2
|
- 1.0.0.1 # Cloudflare Public DNS 2
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.agent.role: environment
|
io.rancher.container.agent.role: environment
|
||||||
io.rancher.container.create_agent: true
|
io.rancher.container.create_agent: true
|
||||||
|
|||||||
@@ -7,6 +7,8 @@ services:
|
|||||||
dns: # Using Cloudflare DNS
|
dns: # Using Cloudflare DNS
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
environment:
|
environment:
|
||||||
MONGO_LOG_DIR: /dev/null
|
MONGO_LOG_DIR: /dev/null
|
||||||
labels:
|
labels:
|
||||||
@@ -25,6 +27,8 @@ services:
|
|||||||
dns: # Using Cloudflare DNS
|
dns: # Using Cloudflare DNS
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
environment:
|
environment:
|
||||||
WIKI_ADMIN_EMAIL: ${ADMIN_EMAIL}
|
WIKI_ADMIN_EMAIL: ${ADMIN_EMAIL}
|
||||||
labels:
|
labels:
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ services:
|
|||||||
dns:
|
dns:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
environment:
|
environment:
|
||||||
WORDPRESS_DB_HOST: mysql
|
WORDPRESS_DB_HOST: mysql
|
||||||
WORDPRESS_DB_NAME: wordpress_db
|
WORDPRESS_DB_NAME: wordpress_db
|
||||||
@@ -40,6 +42,8 @@ services:
|
|||||||
dns:
|
dns:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
environment:
|
environment:
|
||||||
MYSQL_DATABASE: wordpress_db
|
MYSQL_DATABASE: wordpress_db
|
||||||
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS}
|
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS}
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ services:
|
|||||||
dns:
|
dns:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
environment:
|
environment:
|
||||||
DB_HOST: postgresql
|
DB_HOST: postgresql
|
||||||
DB_DATABASE: xwiki_db
|
DB_DATABASE: xwiki_db
|
||||||
@@ -42,6 +44,8 @@ services:
|
|||||||
dns:
|
dns:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_INITDB_ARGS: "--encoding=UTF8"
|
POSTGRES_INITDB_ARGS: "--encoding=UTF8"
|
||||||
POSTGRES_DB: xwiki_db
|
POSTGRES_DB: xwiki_db
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ services:
|
|||||||
dns: # Using Cloudflare DNS
|
dns: # Using Cloudflare DNS
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
environment:
|
environment:
|
||||||
YOURLS_DB_HOST: mysql
|
YOURLS_DB_HOST: mysql
|
||||||
YOURLS_DB_NAME: yourls_db
|
YOURLS_DB_NAME: yourls_db
|
||||||
@@ -39,6 +41,8 @@ services:
|
|||||||
dns: # Using Cloudflare DNS
|
dns: # Using Cloudflare DNS
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
- 2606:4700:4700::1111
|
||||||
|
- 2606:4700:4700::1001
|
||||||
environment:
|
environment:
|
||||||
MYSQL_DATABASE: yourls_db
|
MYSQL_DATABASE: yourls_db
|
||||||
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS}
|
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS}
|
||||||
|
|||||||
5
templates/sysPass/0/README.md
Normal file
5
templates/sysPass/0/README.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# sysPass
|
||||||
|
|
||||||
|
[http://syspass.org/en]
|
||||||
|
|
||||||
|
[https://doc.syspass.org/en/3.0/]
|
||||||
55
templates/sysPass/0/docker-compose.yml
Normal file
55
templates/sysPass/0/docker-compose.yml
Normal 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
|
||||||
41
templates/sysPass/0/rancher-compose.yml
Normal file
41
templates/sysPass/0/rancher-compose.yml
Normal 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
|
||||||
8
templates/sysPass/config.yml
Normal file
8
templates/sysPass/config.yml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
name: sysPass
|
||||||
|
description: |
|
||||||
|
|
||||||
|
version: latest
|
||||||
|
# category:
|
||||||
|
maintainer: WilliamMiceli
|
||||||
|
# license:
|
||||||
|
# projectURL:
|
||||||
Reference in New Issue
Block a user