certbot cannot issue for internal hostnames (*.nas.local), which made nginx-enabled services with internal names fail on deploy. Add a <service>_nginx_letsencrypt flag (default false) and computed <service>_nginx_ssl_certificate/_key paths: when off the vhost uses the shared self-signed cert (nginx_default_ssl_cert), when on it uses the Let's Encrypt lineage. Gate the certbot include on the flag and apply the pattern to all service roles (deluge, fdroid, gitea, grafana, immich, metabase, ntfy, prowlarr, radarr, seerr, static_web, uptime_kuma).
47 lines
1.7 KiB
YAML
47 lines
1.7 KiB
YAML
---
|
|
# F-Droid repository version (austozi/fdroidserver image tag)
|
|
fdroid_version: "26.2.1"
|
|
|
|
# Container image
|
|
fdroid_image: austozi/fdroidserver
|
|
|
|
# Host port mapping
|
|
fdroid_port: 8070
|
|
|
|
# Data directory (keystore, config, metadata, repo APKs)
|
|
fdroid_data_dir: "{{ podman_projects_dir }}/fdroid/data"
|
|
|
|
# Backup manifest - signing keystore (irreplaceable), config, metadata, published APKs.
|
|
fdroid_backup_paths:
|
|
- "{{ fdroid_data_dir }}"
|
|
|
|
# Repository metadata
|
|
fdroid_repo_url: "https://apk.mysite.fr/repo"
|
|
fdroid_repo_name: "F-Droid Repository"
|
|
fdroid_repo_description: "Custom APK repository"
|
|
fdroid_repo_icon: "fdroid.svg"
|
|
fdroid_repo_icon_url: "https://f-droid.org/assets/fdroid-logo-text_S0MUfk_FsnAYL7n2MQye-34IoSNm6QM6xYjDnMqkufo=.svg"
|
|
|
|
# How often the container re-runs 'fdroid update' to re-sign the index
|
|
fdroid_update_interval: "24h"
|
|
|
|
# Keystore password for signing the repository index
|
|
# fdroid_keystore_password: "" # Intentionally undefined - role will fail if not set
|
|
|
|
# Nginx reverse proxy configuration
|
|
fdroid_nginx_enabled: false
|
|
fdroid_nginx_hostname: apk.nas.local
|
|
# Let's Encrypt (certbot) requires a publicly-resolvable hostname. Internal
|
|
# names (e.g. *.nas.local) cannot get a public cert: leave this false to use
|
|
# the shared self-signed cert (nginx_default_ssl_cert). Set true once a public
|
|
# DNS record points at the host.
|
|
fdroid_nginx_letsencrypt: false
|
|
fdroid_nginx_ssl_certificate: >-
|
|
{{ fdroid_nginx_letsencrypt | ternary(
|
|
'/etc/letsencrypt/live/' ~ fdroid_nginx_hostname ~ '/fullchain.pem',
|
|
nginx_default_ssl_cert) }}
|
|
fdroid_nginx_ssl_certificate_key: >-
|
|
{{ fdroid_nginx_letsencrypt | ternary(
|
|
'/etc/letsencrypt/live/' ~ fdroid_nginx_hostname ~ '/privkey.pem',
|
|
nginx_default_ssl_key) }}
|