Skip to content
Snippets Groups Projects

Release 1.0

Merged Loraine Gueguen requested to merge dev into master
All threads resolved!
+ 2
2
@@ -206,9 +206,9 @@ def make_traefik_compose_files(config, main_dir):
if not config["authelia_config_path"] == "" or not config["authelia_config_path"] == "/path/to/authelia/config":
if os.path.isfile(os.path.abspath(config["authelia_config_path"])):
try:
shutil.copy(os.path.abspath(config["banner_path"]), "./traefik/authelia/configuration.yml")
shutil.copy(os.path.abspath(config["authelia_config_path"]), "./traefik/authelia/configuration.yml")
except Exception as exc:
logging.critical("Could not copy authlia configuration file")
logging.critical("Could not copy authelia configuration file")
sys.exit(exc)
# authelia_config_template = env.get_template(os.path.basename(config["authelia_config_path"]))
# authelia_config_output = authelia_config_template.render(render_vars)
Loading