saltyorg / docs

GNU General Public License v3.0
48 stars 76 forks source link

Traefik3 docs changes. #183

Open saltydk opened 1 year ago

saltydk commented 1 year ago

Add explanation about how to do var overrides for instances with dashes in the name.

Short explanation is that Ansible doesn't allow dashes (while it technically works anyway we're trying to avoid problems in the future in case it becomes enforced with default vars as well) in variable names so we're renaming the instance under the hood even if the folders, docker container/hostname, and the like still contains the dash in it the variable will replace dashes with underscores.

owine commented 1 year ago

Also needed

owine commented 1 year ago

Add explanation about how to do var overrides for instances with dashes in the name.

Short explanation is that Ansible doesn't allow dashes (while it technically works anyway we're trying to avoid problems in the future in case it becomes enforced with default vars as well) in variable names so we're renaming the instance under the hood even if the folders, docker container/hostname, and the like still contains the dash in it the variable will replace dashes with underscores.

Opened traefik3 branch to start documenting branch-specific changes for post-merge.

https://github.com/saltyorg/docs/commit/41b63fc8df5b35fd497a7c791ab8d81dcb9950a4

owine commented 1 year ago

Explain media_server, download_clients and download_indexers roles and how to use them to change the apps installed by Saltbox, Mediabox and Feederbox tags.

178

owine commented 1 year ago
traefik_tailscale_enabled: true # global toggle for tailscale entrypoint creation
traefik_traefik_tailscale_enabled: true # if you want dash to use tailscale
netdata_traefik_tailscale_enabled: true # role toggle
traefik_tailscale_bind_ip: "" # Set to override the WANIP port binding when server is not connected directly to the Internet.
traefik_tailscale_bind_ipv6: "" # Same but IPv6

184

saltydk commented 1 year ago

Roles being moved from Sandbox to Saltbox

saltydk commented 1 year ago

add warning about backup.yml changes for users of backup2. This change affects all users of backup now.

owine commented 1 year ago

I think we need a page dedicated to this migration/upgrade

saltydk commented 1 year ago

document restore_tar functionality to restore a single app

saltydk commented 1 year ago

document qbittorrent host install

saltydk commented 1 year ago

document backup_rclone_env

saltydk commented 1 year ago

qbittorrent will be the default torrent client

saltydk commented 1 year ago

document the legacy volume toggle

docker_legacy_volume: false
saltydk commented 1 year ago

document mounts_override

mounts_override: true
saltydk commented 1 year ago

document these toggles

skip_dns: false
role_dns_enabled: "{{ lookup('vars', role_name + '_dns_enabled', default=true) }}"
saltydk commented 1 year ago

document the traefik middleware var changes.

speedtest_traefik_sso_middleware: ""
speedtest_traefik_middleware_default: "{{ traefik_default_middleware }}"
speedtest_traefik_middleware_custom: ""

instead of

speedtest_traefik_middleware: "{{ traefik_default_middleware }}"

since inventory edits that try editing the old middleware var won't do anything anymore.

saltydk commented 1 year ago

document traefik API whitelisting change.

saltydk commented 1 year ago

document how to migrate databases from legacy installs to the new per app instance database format.

saltydk commented 1 year ago

add templates for external services to the advanced section, such as this

http:
  routers:
    ansible-http:
      entryPoints:
        - "web"
      rule: "Host(`ansible.saltbox.dev`)"
      middlewares:
        - globalHeaders
        - redirect-to-https@docker
        - gzip@docker
      service: "ansible"
    ansible:
      entryPoints:
        - "websecure"
      rule: "Host(`ansible.saltbox.dev`)"
      middlewares:
        - globalHeaders
        - secureHeaders
        - gzip@docker
      service: "ansible"
      tls:
        options: securetls@file
        certResolver: google
        domains:
          - main: "saltbox.dev"
            sans:
              - "*.saltbox.dev"
  services:
    ansible:
      loadBalancer:
        servers:
        - url: "http://172.19.0.1:8000"
saltydk commented 1 year ago

document the backup role template change in the config

saltydk commented 1 year ago

add set-backup/unset-backup crontab toggle explanation to the Traefik 3.0 upgrade explainer since it might confuse longtime users. backup2 has set-backup2/unset-backup2 to toggle the crontab entry.

saltydk commented 12 months ago

maybe we should mention the rutorrent image change which means no more autodl?

saltydk commented 11 months ago

document the new way of toggling rclone remotes:

old way

---
downloads: /mnt/unionfs/downloads
transcodes: /mnt/local/transcodes
rclone:
  version: latest
  remote: 
shell: bash
authelia:
  master: yes
  subdomain: login

new way

---
authelia:
  master: yes
  subdomain: login
downloads: /mnt/unionfs/downloads
rclone:
  enabled: false <-- this
  remotes:
    - remote: google
      template: google
      vfs_cache:
        enabled: false
        max_age: 504h
        size: 50G
  version: latest
shell: bash
transcodes: /mnt/local/transcodes

Change was done to avoid having to redo the whole list structure in order to toggle deploying rclone remotes. The role will remove previously deployed Saltbox rclone services when disabled.

saltydk commented 11 months ago

Fix tag references on pages related to these two commits: https://github.com/saltyorg/Saltbox/commit/571dfc125bc560299bfc89d3df6d9969bdc7a4e3 https://github.com/saltyorg/Sandbox/commit/19fac11ec6cb67752d8945fb29d580ef2c7ad11a

saltydk commented 11 months ago

add a section that explains the way to add custom Traefik routers and services using the YAML files.

owine commented 10 months ago

Document SABnzbd as default NZB client. Perhaps add docs on how to change clients if one desires.