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:
Brian Zalewski 2023-02-16 02:42:38 +00:00
parent 88a569918c
commit 96f24ad65a
4 changed files with 21 additions and 8 deletions

View file

@ -21,6 +21,19 @@ colors:
color16: '#FFFFFF'
config:
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'
netdataClaimURL: https://app.netdata.cloud
themeparkTheme: aquamarine

View file

@ -11,14 +11,14 @@ services:
- healthchecks_network
- nginx_network
environment:
ALLOWED_HOSTS: "{{ template.ALLOWED_HOSTS }}"
ALLOWED_HOSTS: "{{ .docker.healthchecks.allowedHosts }}"
APPRISE_ENABLED: 'False'
DB_HOST: postgres
DB_NAME_FILE: /run/secrets/healthchecks_db_name
DB_PASSWORD_FILE: /run/secrets/healthchecks_db_password
DB_USER_FILE: /run/secrets/healthchecks_db_user
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_USER: apikey
EMAIL_HOST: smtp.sendgrid.net
@ -30,9 +30,9 @@ services:
REGENERATE_SETTINGS: 'True'
SECRET_KEY_FILE: /run/secrets/healthchecks_secret_key
SHELL_ENABLED: 'True'
SITE_LOGO_URL: "{{ template.SITE_LOGO_URL }}"
SITE_NAME: "{{ template.SITE_NAME }}"
SITE_ROOT: "{{ template.SITE_ROOT }}"
SITE_LOGO_URL: "{{ .docker.healthchecks.siteLogoUrl }}"
SITE_NAME: "{{ .docker.healthchecks.siteName }}"
SITE_ROOT: "{{ .docker.healthchecks.siteRoot }}"
SLACK_CLIENT_ID_FILE: /run/secrets/healthchecks_slack_client_id
SLACK_CLIENT_SECRET_FILE: /run/secrets/healthchecks_slack_client_secret
SLACK_ENABLED: 'True'

View file

@ -16,7 +16,7 @@ services:
portainer:
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:
- 9443
ports:

View file

@ -23,8 +23,8 @@ services:
DB_USER_FILE: /run/secrets/statping_database_user
DB_PASS_FILE: /run/secrets/statping_database_password
DB_DATABASE_FILE: /run/secrets/statping_database_name
NAME: "{{ template.NAME }}"
DESCRIPTION: "{{ template.DESCRIPTION }}"
NAME: "{{ .docker.statping.name }}"
DESCRIPTION: "{{ .docker.statping.description }}"
deploy:
mode: replicated
replicas: 1