infrastructure/playbooks/roles/faas/vars/main.yml

22 lines
624 B
YAML
Raw Normal View History

2024-09-26 22:02:36 +00:00
---
faas_svc:
domain: "{{ all_services | service_get_domain(role_name) }}"
2024-09-26 22:02:36 +00:00
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
}