Commit Graph

9505 Commits

Author SHA1 Message Date
Tom Mortensen f7c7f08528 Refactor 'update' subommand for services rc files 7.0.0-beta.4.3 2024-10-22 13:32:10 -07:00
tom mortensen 1ed2612a75 Merge pull request #1900 from ich777/docker-rebuild-fix
Fix for Docker Rebuild loop & patchset Tailscale php warnings
2024-10-22 09:22:24 -07:00
Christoph Hummer 8b415fb4ae Update DockerClient.php
Improve if condition
2024-10-22 08:53:55 +02:00
Christoph Hummer 3e5fa408a6 Update DockerContainers.php
Fix logic error
2024-10-22 08:45:58 +02:00
Christoph Hummer 6c299eda87 Update CreateDocker.php 2024-10-22 08:31:49 +02:00
root e63b7af06d CreateDocker.php php error fix 2024-10-22 07:59:20 +02:00
Christoph Hummer d01196498b Fix php error 2024-10-22 06:21:01 +02:00
Christoph Hummer ba4555cdfd Fix for php error 2024-10-22 05:57:12 +02:00
Christoph Hummer 034f970b0c Update CreateDocker.php 2024-10-22 05:03:56 +02:00
Tom Mortensen b8b0986da2 update .gitignore to incude ./share directory 2024-10-21 16:49:41 -07:00
tom mortensen 14a9db1228 Merge pull request #1899 from ich777/tailscale-docker-integration
Initial Tailscale Docker integration
2024-10-21 16:37:46 -07:00
Christoph Hummer 435b8be89e Remove old variable 2024-10-21 23:16:53 +02:00
Christoph Hummer 68910922f9 Fix variable 2024-10-21 23:13:23 +02:00
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.
7.0.0-beta.4
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 242d6efd26 rc.ntpd: Fix 'update' subcommand
rc.nginx: Fix 'update' subcommand
rc.libvirt: Fix 'vmlist()' function to ignore 'virsh list' headers
rc.library_source: changes to support above
2024-10-20 10:50:00 -07: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 84bb441719 really should re-hash any time dirs are removed from PATH 7.0.0-beta.3.3 2024-10-17 15:20:21 -07: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
tom mortensen 278bfd7bdd Merge pull request #1892 from SimonFair/device_list-updates
Update device_list
2024-10-17 13:16:29 -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 95c6913c62 small chang in how rc.cgroup2unaid is invoked 7.0.0-beta.3.1 2024-10-11 02:24:43 -07:00
Tom Mortensen b783d4b207 more killall and pgrep updates. 2024-10-11 02:24:43 -07:00
Tom Mortensen a866de833a Revert "stop ntpd from complaining about multiple IP addresses" 2024-10-11 02:24:43 -07:00
tom mortensen ee31e35849 Merge pull request #1882 from desertwitch/fix-rsyslogd
(bugfix) /etc/rc.d/rc.rsyslogd: OS-native PID for decisions
2024-10-10 17:13:35 -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 57ec7909e5 Update rc.sshd 2024-10-10 21:54:16 +01:00
SimonFair 01c6f64b52 Revert sshd loops. 2024-10-10 21:03:02 +01:00
SimonFair 80d567dfde killall and pgrep updates.
Set --ns $$ on commands.
2024-10-10 19:18:54 +01:00
tom mortensen 99d60fa08a Merge pull request #1888 from SimonFair/ntp-fix
Samba update and to use smbcontrol for reload
2024-10-10 10:37:49 -07: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
SimonFair 3c007fa1d0 Samba update and to use smbcontrol for reload 2024-10-10 17:17:17 +01: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
desertwitch 06b1c9a20f /etc/rc.d/rc.rsyslogd: check status before reload 2024-10-10 07:03:48 +02:00