add files dir

This commit is contained in:
Luna 2023-02-22 00:11:43 -03:00
parent 2e999f8e9b
commit 52fbc871b2
2 changed files with 29 additions and 0 deletions

10
files/aproxy/conf.lua.j2 Normal file
View File

@ -0,0 +1,10 @@
return {
version = 1,
wantedScripts = {
['webfinger_allowlist'] = {accounts = {
{% for account in cfg.aproxy_accounts %}
"{{ account }}",
{% endfor %}
} }
}
}

19
files/compose.service.j2 Normal file
View File

@ -0,0 +1,19 @@
{% import './templates/systemd.j2' as systemd %}
{{ systemd.service() }}
[Unit]
Description={{ env_dict.service_name }} (docker compose'd thing)
After=network-online.target
[Service]
Type=oneshot
RemainAfterExit=true
WorkingDirectory={{ env_dict.working_directory }}
ExecStart=/usr/bin/docker-compose up -d --remove-orphans
ExecStop=/usr/bin/docker-compose down
{{ systemd.service_security() }}
[Install]
WantedBy=multi-user.target