infrastructure/playbooks/roles/shlink/vars/main.yml
Tobias Reisinger 05e79ae90a
Fix issues (backup, watchtower, firewall)
Remove remote_docker backups
Add option to monitor with watchtower
Add teamspeak ports to firewall
2024-11-08 00:05:55 +01:00

30 lines
824 B
YAML

---
shlink_svc:
domain: "{{ all_services | service_get_domain(role_name) }}"
additional_domains:
- "emgauwa.app"
port: 8080
shlink_env:
DEFAULT_DOMAIN: "{{ shlink_svc.domain }}"
IS_HTTPS_ENABLED: true
TIMEZONE: "{{ timezone }}"
DEFAULT_SHORT_CODES_LENGTH: 8
MULTI_SEGMENT_SLUGS_ENABLED: false
SHORT_URL_TRAILING_SLASH: true
REDIRECT_APPEND_EXTRA_PATH: true
DEFAULT_BASE_URL_REDIRECT: "https://www.serguzim.me/"
DB_DRIVER: postgres
DB_HOST: "{{ postgres.host }}"
DB_PORT: "{{ postgres.port }}"
DB_NAME: "{{ opentofu.postgresql_data.shlink.database }}"
DB_USER: "{{ opentofu.postgresql_data.shlink.user }}"
DB_PASSWORD: "{{ opentofu.postgresql_data.shlink.pass }}"
GEOLITE_LICENSE_KEY: "{{ vault_shlink.geolite_key }}"
shlink_compose:
watchtower: update
image: shlinkio/shlink