[minor] update Dockerfile and parameters.yaml

- In the Dockerfile, added a new parameter "-parfile" with value "conf/parameters.yaml" to the CMD command in survBot.py.
- In parameters.yaml, made changes to the EMAIL section:
  - Added comments explaining how to specify mail server and credentials.
  - Added auth_type field with value "SSL".
  - Updated port field to 465 for SSL.
  - Updated user and password fields to read from environment variables or docker secrets.
  - Added comments explaining how to specify mail recipients, sender, and blacklists.
  - Moved location of simulate_fail.json to conf/simulate_fail.json for easier Docker integration
This commit is contained in:
2025-03-21 12:39:10 +01:00
parent cf12500ec2
commit 3f07b7bcd0
3 changed files with 13 additions and 8 deletions

View File

@@ -704,7 +704,7 @@ class StationQC(object):
return 'active'
return False
def _simulated_error_check(self, key, fname='simulate_fail.json'):
def _simulated_error_check(self, key, fname='conf/simulate_fail.json'):
if not os.path.isfile(fname):
return
with open(fname) as fid: