Update 4 files
- /home/dot_config/docker/templates/healthchecks.docker-stack.yml.tmpl - /home/dot_config/docker/templates/portainer.docker-stack.yml.tmpl - /home/dot_config/docker/templates/statping.docker-stack.yml.tmpl - /home/.chezmoidata.yaml
This commit is contained in:
parent
88a569918c
commit
96f24ad65a
4 changed files with 21 additions and 8 deletions
|
@ -21,6 +21,19 @@ colors:
|
||||||
color16: '#FFFFFF'
|
color16: '#FFFFFF'
|
||||||
config:
|
config:
|
||||||
gpg: https://raw.githubusercontent.com/drduh/config/master/gpg.conf
|
gpg: https://raw.githubusercontent.com/drduh/config/master/gpg.conf
|
||||||
|
docker:
|
||||||
|
healthchecks:
|
||||||
|
allowedHosts: "*"
|
||||||
|
defaultFromEmail: no-reply@megabyte.space
|
||||||
|
siteLogoUrl: https://gitlab.com/megabyte-labs/misc/assets/-/raw/master/logo/color3@10x.png
|
||||||
|
siteName: Megabyte Labs Healthchecks
|
||||||
|
siteRoot: "/"
|
||||||
|
portainer:
|
||||||
|
siteLogoUrl: https://gitlab.com/megabyte-labs/misc/assets/-/raw/master/logo/color3@10x.png
|
||||||
|
templatesUrl: ""
|
||||||
|
statping:
|
||||||
|
description: Uptime monitoring for Megabyte Labs managed web services
|
||||||
|
name: Megabyte Labs Uptime Monitoring
|
||||||
macosRemoteLogin: 'on'
|
macosRemoteLogin: 'on'
|
||||||
netdataClaimURL: https://app.netdata.cloud
|
netdataClaimURL: https://app.netdata.cloud
|
||||||
themeparkTheme: aquamarine
|
themeparkTheme: aquamarine
|
||||||
|
|
|
@ -11,14 +11,14 @@ services:
|
||||||
- healthchecks_network
|
- healthchecks_network
|
||||||
- nginx_network
|
- nginx_network
|
||||||
environment:
|
environment:
|
||||||
ALLOWED_HOSTS: "{{ template.ALLOWED_HOSTS }}"
|
ALLOWED_HOSTS: "{{ .docker.healthchecks.allowedHosts }}"
|
||||||
APPRISE_ENABLED: 'False'
|
APPRISE_ENABLED: 'False'
|
||||||
DB_HOST: postgres
|
DB_HOST: postgres
|
||||||
DB_NAME_FILE: /run/secrets/healthchecks_db_name
|
DB_NAME_FILE: /run/secrets/healthchecks_db_name
|
||||||
DB_PASSWORD_FILE: /run/secrets/healthchecks_db_password
|
DB_PASSWORD_FILE: /run/secrets/healthchecks_db_password
|
||||||
DB_USER_FILE: /run/secrets/healthchecks_db_user
|
DB_USER_FILE: /run/secrets/healthchecks_db_user
|
||||||
DEBUG: 'False'
|
DEBUG: 'False'
|
||||||
DEFAULT_FROM_EMAIL: "{{ template.DEFAULT_FROM_EMAIL }}"
|
DEFAULT_FROM_EMAIL: "{{ .docker.healthchecks.defaultFromEmail }}"
|
||||||
EMAIL_HOST_PASSWORD_FILE: /run/secrets/healthchecks_sendgrid_api_key
|
EMAIL_HOST_PASSWORD_FILE: /run/secrets/healthchecks_sendgrid_api_key
|
||||||
EMAIL_HOST_USER: apikey
|
EMAIL_HOST_USER: apikey
|
||||||
EMAIL_HOST: smtp.sendgrid.net
|
EMAIL_HOST: smtp.sendgrid.net
|
||||||
|
@ -30,9 +30,9 @@ services:
|
||||||
REGENERATE_SETTINGS: 'True'
|
REGENERATE_SETTINGS: 'True'
|
||||||
SECRET_KEY_FILE: /run/secrets/healthchecks_secret_key
|
SECRET_KEY_FILE: /run/secrets/healthchecks_secret_key
|
||||||
SHELL_ENABLED: 'True'
|
SHELL_ENABLED: 'True'
|
||||||
SITE_LOGO_URL: "{{ template.SITE_LOGO_URL }}"
|
SITE_LOGO_URL: "{{ .docker.healthchecks.siteLogoUrl }}"
|
||||||
SITE_NAME: "{{ template.SITE_NAME }}"
|
SITE_NAME: "{{ .docker.healthchecks.siteName }}"
|
||||||
SITE_ROOT: "{{ template.SITE_ROOT }}"
|
SITE_ROOT: "{{ .docker.healthchecks.siteRoot }}"
|
||||||
SLACK_CLIENT_ID_FILE: /run/secrets/healthchecks_slack_client_id
|
SLACK_CLIENT_ID_FILE: /run/secrets/healthchecks_slack_client_id
|
||||||
SLACK_CLIENT_SECRET_FILE: /run/secrets/healthchecks_slack_client_secret
|
SLACK_CLIENT_SECRET_FILE: /run/secrets/healthchecks_slack_client_secret
|
||||||
SLACK_ENABLED: 'True'
|
SLACK_ENABLED: 'True'
|
||||||
|
|
|
@ -16,7 +16,7 @@ services:
|
||||||
|
|
||||||
portainer:
|
portainer:
|
||||||
image: portainer/portainer-ce:2.14.1
|
image: portainer/portainer-ce:2.14.1
|
||||||
command: -H tcp://tasks.agent:9001 --tlsskipverify --admin-password-file /run/secrets/portainer_admin_password --logo {{ template.SITE_LOGO_URL }} --no-analytics true --templates {{ template.TEMPLATES_URL }}
|
command: -H tcp://tasks.agent:9001 --tlsskipverify --admin-password-file /run/secrets/portainer_admin_password --logo {{ .docker.portainer.siteLogoUrl }} --no-analytics true --templates {{ .docker.portainer.templatesUrl }}
|
||||||
expose:
|
expose:
|
||||||
- 9443
|
- 9443
|
||||||
ports:
|
ports:
|
||||||
|
|
|
@ -23,8 +23,8 @@ services:
|
||||||
DB_USER_FILE: /run/secrets/statping_database_user
|
DB_USER_FILE: /run/secrets/statping_database_user
|
||||||
DB_PASS_FILE: /run/secrets/statping_database_password
|
DB_PASS_FILE: /run/secrets/statping_database_password
|
||||||
DB_DATABASE_FILE: /run/secrets/statping_database_name
|
DB_DATABASE_FILE: /run/secrets/statping_database_name
|
||||||
NAME: "{{ template.NAME }}"
|
NAME: "{{ .docker.statping.name }}"
|
||||||
DESCRIPTION: "{{ template.DESCRIPTION }}"
|
DESCRIPTION: "{{ .docker.statping.description }}"
|
||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
|
Loading…
Reference in a new issue