updating configuration
This commit is contained in:
@@ -11,6 +11,9 @@ syntax: glob
|
|||||||
*.userosscache
|
*.userosscache
|
||||||
*.sln.docstates
|
*.sln.docstates
|
||||||
|
|
||||||
|
#settings files
|
||||||
|
*.env
|
||||||
|
|
||||||
# User-specific files (MonoDevelop/Xamarin Studio)
|
# User-specific files (MonoDevelop/Xamarin Studio)
|
||||||
*.userprefs
|
*.userprefs
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
#SHELL := /bin/bash
|
||||||
|
|
||||||
|
ARGS = `arg="$(filter-out $@,$(MAKECMDGOALS))" && echo $${arg:-${1}}`
|
||||||
|
|
||||||
|
update_secrets_sample:
|
||||||
|
@echo "Masking env files..."
|
||||||
|
@find . -name *.env | xargs -I{} cp {} {}.sample
|
||||||
|
@find . -name *.env.sample | xargs -I{} sed -i "s/\=.*/\=xxxxxxxxx/g" {}
|
||||||
|
|
||||||
|
# @cat zigbee2mqtt/settings/configuration.yaml | sed "s/\:.*/\: xxxxxxxxx/g" > zigbee2mqtt/settings/configuration.yaml.sample #mask passwords
|
||||||
|
|
||||||
|
commit: update_secrets_sample
|
||||||
|
git add .
|
||||||
|
git diff-index --quiet HEAD || git commit -m "$(call ARGS,\"updating configuration\")"
|
||||||
|
git push
|
||||||
|
|
||||||
|
%:
|
||||||
|
@:
|
||||||
@@ -6,6 +6,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- "./sent.json:/app/sent.json"
|
- "./sent.json:/app/sent.json"
|
||||||
|
env_file: ./settings.env
|
||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Moscow
|
- TZ=Europe/Moscow
|
||||||
logging:
|
logging:
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
[
|
[
|
||||||
622,
|
|
||||||
621,
|
621,
|
||||||
620,
|
620,
|
||||||
619,
|
619,
|
||||||
@@ -28,5 +27,6 @@
|
|||||||
594,
|
594,
|
||||||
593,
|
593,
|
||||||
592,
|
592,
|
||||||
591
|
591,
|
||||||
|
622
|
||||||
]
|
]
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
token: test
|
||||||
|
chatid: -1
|
||||||
Reference in New Issue
Block a user