Files
computer-playbook/roles/web-app-hugo/meta/services.yml

80 lines
1.9 KiB
YAML

---
# nocheck: dynamic-flag
# nocheck: logout
logout:
enabled: false
shared: false
# nocheck: dynamic-flag
# nocheck: oidc
# nocheck: sso
sso:
enabled: false
shared: false
dashboard:
bond: 1
enabled: "{{ 'web-app-dashboard' in group_names }}"
shared: "{{ 'web-app-dashboard' in group_names }}"
matomo:
bond: 1
enabled: "{{ 'web-app-matomo' in group_names }}"
shared: "{{ 'web-app-matomo' in group_names }}"
# nocheck: playwright-service-flag — css consumer, no Playwright surface (provider: web-svc-css)
css:
bond: 1
enabled: "{{ 'web-svc-css' in group_names }}"
shared: "{{ 'web-svc-css' in group_names }}"
hugo:
healthcheck:
flavor: wget
modes:
compose:
enabled: true
swarm:
enabled: true
image: nginx
version: 1.31-alpine
custom: true
builder_image: ghcr.io/gohugoio/hugo
builder_version: v0.169.0
source_repository: https://github.com/gohugoio/hugoDocs.git
source_version: v0.165.0
update:
- key: builder_version
type: registry_tags
image: ghcr.io/gohugoio/hugo
match: "v"
- key: source_version
type: git_tags
repository: https://github.com/gohugoio/hugoDocs.git
hugo_environment: production
hugo_minify: true
ports:
local:
http: 8008
internal:
http: 80
proxy:
service_key: hugo
lifecycle: beta
min_storage: 227MB
cpus: "0.2"
mem_reservation: 128m
mem_limit: 256m
pids_limit: 256
# nocheck: email
# nocheck: dynamic-flag
email:
enabled: false
shared: false
prometheus:
bond: 1
enabled: "{{ 'web-app-prometheus' in group_names }}"
shared: "{{ 'web-app-prometheus' in group_names }}"
# nocheck: playwright-service-flag
# nocheck: variants-coverage — sso-variant-tor requires the onion on in every variant, so the false polarity has no variant left to live in
tor:
bond: 0.5
enabled: "{{ 'svc-net-tor' in group_names }}"
shared: true # nocheck: dynamic-flag