infrastructure/playbooks/roles/faas/vars/main.yml
2024-10-29 00:34:57 +01:00

21 lines
624 B
YAML

---
faas_svc:
domain: "{{ all_services | service_get_domain(role_name) }}"
docker_host: host.docker.internal
port: 8080
extra_svcs:
- domain: serguzim.me
faas_function: webpage-serguzim-me
www_domain: true
hsts: true
caddy_extra: |
header /.well-known/* Access-Control-Allow-Origin *
handle /.well-known/webfinger {
map {query.resource} {user} {
acct:tobias@msrg.cc serguzim
acct:serguzim@msrg.cc serguzim
}
rewrite * /.well-known/webfinger/{user}.json
import faas webpage-msrg-cc
}