Commit Graph

1781 Commits

Author SHA1 Message Date
Christoph Hummer 70a9cea885 Fix missing newline in helptext 2024-10-21 23:10:41 +02:00
root e289d2ad7c Initial Tailscale Docker integration
- Remove exclusion from share directory from .gitignore
- Add Unraid specific container hook script
- Add Tailscale icon
- Add helptexts for Tailscale

This integration allows users to easily make use of Tailscale in their Docker containers by just clicking a switch on the Docker page.
The Tailscale plugin itself is not needed for this integration but for the best user experience it is strongly recommended to install the Tailscale plugin from Community Applications.

How this works:
1. Configure Tailscale in the Docker template in Unraid and click Apply
2. Unraid will extract the default Entrypoint and CMD from the container
3. The hook script will be mounted in the container to /opt/unraid/tailscale-hook and the Entrypoint from the container will be modified to /opt/unraid/tailscale-hook
4. The original Entrypoint and CMD from the container, alongside with the other necessary variables for Tailscale will be passed over to the container
5. When the container starts the hook script will be executed, install dependencies (currently Alpine, Arch and Debian based containers are supported), download the newest version from Tailscale and run it
6. After the first start with Tailscale the container will halt and wait for the user to click on the link which is presented in the log from the container to add the container to your Tailnet
(alternatively one could also open up a Console from the container and issue `tailscale status` which will also present the link to authenticate the container to your Tailnet)
7. The hook script will pass over the default Entrypoint and CMD which was extracted in step 2 and the container will start as usual

These steps will be repeated after Container update, force update from the Docker page and if changes in the template are made.
If the container is only Started/Restarted the hook script will detect that Tailscale is installed and only start it, if one wants to update Tailscale inside the container simply hit `force update` on the Docker page in Unraid (with Advanced View Enabled)

The integration will show a Tailscale icon on the Docker page for each Tailscale enabled Container and show some basic information from the container (Installed Tailscale Version, Online Status, Hostname, Main Relay, IPs, Exit Node, Auth Expiry,...)
When Serve or Funnel is enabled it will also generate `Tailscale WebUI` in the drop down for the container which you can open up if Tailscale is installed from the device you are accessing Unraid.
2024-10-21 23:07:11 +02:00
tom mortensen df1a1ff808 Merge pull request #1898 from SimonFair/device_list-updates
Add noVNC scale option to template.
2024-10-21 09:30:42 -07:00
SimonFair 121b6aa8cc Add noVNC scale option to template. 2024-10-20 21:02:20 +01:00
tom mortensen f477d2c231 Merge pull request #1897 from SimonFair/device_list-updates
Fix noVNC Scaling.
2024-10-20 09:50:07 -07:00
SimonFair e36779bd49 Fix Scaling. 2024-10-20 15:37:51 +01:00
tom mortensen eea27e0c7d Merge pull request #1895 from SimonFair/device_list-updates
Additional logging to clones and fix check boxes.
2024-10-19 11:49:06 -07:00
tom mortensen 9421ab866f Merge pull request #1894 from dlandon/add_update_button_to_zfs_remote
Add update button to zfs devices.
2024-10-19 11:48:38 -07:00
SimonFair ecb8a8dac2 Additional logging to clones and fix check boxes. 2024-10-19 16:48:09 +01:00
dlandon 0ee5caf8ac Add zfs update and additional btrfs scrub help text. 2024-10-18 18:31:21 -05:00
dlandon ba6ae34e8b Add Update Pool button to zfs devices to update zfs volume to latest version. 2024-10-18 18:30:23 -05:00
tom mortensen 4c087b25e9 Merge pull request #1893 from SimonFair/device_list-updates
Force scaling local.
2024-10-18 09:17:01 -07:00
SimonFair 35f4cb9bf0 Force scaling local. 2024-10-18 12:25:40 +01:00
Tom Mortensen 59518d9672 Revert "fix: prevent deleting containers that are assigned as a network #1876" 2024-10-17 13:19:38 -07:00
tom mortensen d3e2d536e0 Merge pull request #1891 from SimonFair/noVNC-update-to-1.5
Update noVNC to 1.5
2024-10-17 13:16:51 -07:00
SimonFair 60c5dd2902 Update device_list 2024-10-17 13:18:13 +01:00
SimonFair 708f6e89eb Update noVNC to 1.5 2024-10-11 14:04:25 +01:00
Tom Mortensen b783d4b207 more killall and pgrep updates. 2024-10-11 02:24:43 -07:00
tom mortensen 50e7389c8a Merge pull request #1889 from SimonFair/ntp-fix
killall and pgrep updates.
2024-10-10 17:02:59 -07:00
tom mortensen d536ef285b Merge pull request #1890 from dlandon/delete_DS_Store_files_when_deleting_user_share
Delete all '*.DS_Store' files when deleting share.
2024-10-10 16:57:08 -07:00
dlandon 2dc82b61de Delete all '*.DS_Store' files when deleting share. 2024-10-10 16:16:09 -05:00
SimonFair 80d567dfde killall and pgrep updates.
Set --ns $$ on commands.
2024-10-10 19:18:54 +01:00
tom mortensen 8bbf176b8b Merge pull request #1887 from unraid/fix-device-list
Fix PHP error in device_list
2024-10-10 10:36:50 -07:00
tom mortensen ca51a3799b Merge pull request #1885 from dlandon/remove_ps.txt_file_from_diagnostics
Remove ps.txt from diagnostics.
2024-10-10 10:36:28 -07:00
tom mortensen e4bb758b05 Merge pull request #1884 from dlandon/show_delete_on_shares_settings_page_at_all_times
Delete share is always visible.
2024-10-10 10:35:59 -07:00
ljm42 c062e4dd9c Fix PHP error in device_list
Was preventing the main page from populating with data in some cases
2024-10-10 09:09:39 -07:00
dlandon d9bd5b56c8 Remove ps.txt from diagnostics. 2024-10-09 13:08:55 -05:00
dlandon bc7c66fec9 Delete share is always visible and enabled only when it is safe to delete the share. 2024-10-09 12:06:48 -05:00
tom mortensen 97c3a4621b Merge pull request #1877 from dlandon/cannot_change_share_settings_if_pools_missing
Fix a situation where the secondary pool device is missing.
2024-10-08 12:18:48 -07:00
tom mortensen 1ffb22bddf Merge pull request #1880 from ich777/ich777-docker-directory-fix
Fix for docker directory
2024-10-08 12:16:44 -07:00
tom mortensen 1d9e14f07c Merge pull request #1878 from SimonFair/VM-ZFS-Fixes
Fix virtiofsd pre processor + add virtiogpu option to gui.
2024-10-08 12:14:26 -07:00
Christoph Hummer 6f7b97e37a Fix for docker directory
- store path outside from function to not shorten path if users switches multiple times between `image` and `folder`
- make sure overlay2 is selected by default
2024-10-07 14:54:08 +02:00
SimonFair ed7219d9c7 Add virtio gpu option. 2024-10-06 11:29:57 +01:00
SimonFair 082d7d842b Revert "Add virtio gu(2d) as an option of template."
This reverts commit 9a502776a1.
2024-10-06 11:26:34 +01:00
SimonFair 9a502776a1 Add virtio gu(2d) as an option of template. 2024-10-06 11:17:19 +01:00
SimonFair 03346f4709 Update virtiofsd.php 2024-10-05 07:57:19 +01:00
dlandon 1cc84832ee Fix a situation where secondary pool device is missing and the Array is chosen for the primary device.. 2024-10-03 13:57:21 -05:00
Tom Mortensen 959df7e46c fx: Agent notifications don't work if there's a problem with email notifications 2024-10-02 09:55:44 -07:00
tom mortensen fcbc8f700e Merge pull request #1876 from dkaser/check-container-networks
fix: prevent deleting containers that are assigned as a network
2024-10-01 14:00:08 -07:00
Derek Kaser 6fd88575b2 fix: prevent deleting containers that are assigned as a network 2024-10-01 04:21:51 +00:00
tom mortensen bff0238f88 Merge pull request #1875 from dkaser/sanitize-tsnet
feat: sanitize ts.net domain names from nginx config
2024-09-30 15:45:50 -07:00
Derek Kaser ee7f1f4a5b feat: sanitize ts.net domain names from nginx config 2024-09-30 02:29:37 +00:00
tom mortensen c3dd62f1d5 Merge pull request #1874 from dlandon/container_device_not_showing
Container device not showing in Dockerman.
2024-09-27 09:19:24 -07:00
tom mortensen 968e3b1d72 Merge pull request #1870 from dkaser/tailscale-routes
feat: show routes from all routing tables, not just default
2024-09-26 12:25:30 -07:00
dlandon 828cd7b747 Container device not showing in Dockerman. 2024-09-26 09:13:42 -05:00
Derek Kaser 20e29ab5af feat: show routes from all routing tables, not just default 2024-09-23 21:32:13 +00:00
Christoph Hummer 020ed9a07f Small fix for 3rd party containers
- Fix orange text "not available" to use the default text colour.
2024-09-23 21:19:04 +02:00
Tom Mortensen 8f656e87b1 establish sensible zfs pool defaults 2024-09-23 10:57:13 -07:00
Tom Mortensen 54b1e81b38 unconditinally set directories to mode 0777 2024-09-23 10:54:57 -07:00
tom mortensen dcfaa1afa0 Merge pull request #1866 from SimonFair/VM-ZFS-Fixes
Fix VM usage stats value if timer > 1 sec.
2024-09-20 09:19:46 -07:00