Skip to content

Commit 589dbba

Browse files
committed
Remove universal-docker-mod
1 parent 6e41da6 commit 589dbba

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
This mod gives SWAG the ability to start containers on-demand when accessed through SWAG and stop them after a period of inactivity. It takes a few seconds for containers to start on-demand, you'll need to refresh the tab.
44

55
## Setup:
6-
- In SWAG's docker arguments, set an environment variable `DOCKER_MODS=linuxserver/mods:universal-docker|linuxserver/mods:swag-ondemand` and either add a volume mapping for `/var/run/docker.sock:/var/run/docker.sock:ro`, or set an environment var `DOCKER_HOST=remoteaddress` (read the security considerations below).
6+
- In SWAG's docker arguments, set an environment variable `DOCKER_MODS=linuxserver/mods:swag-ondemand` and either add a volume mapping for `/var/run/docker.sock:/var/run/docker.sock:ro`, or set an environment var `DOCKER_HOST=remoteaddress` (read the security considerations below).
77
- Add the label `swag_ondemand=enable` to on-demand containers.
88
```yaml
99
somecontainer:

root/etc/s6-overlay/s6-rc.d/init-mod-swag-ondemand-setup/dependencies.d/init-mod-universal-docker-setup renamed to root/etc/s6-overlay/s6-rc.d/init-mod-swag-ondemand-setup/dependencies.d/init-mods

File renamed without changes.

root/etc/s6-overlay/s6-rc.d/init-mod-swag-ondemand-setup/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
echo "Applying the swag-ondemand mod..."
44

55
if [ ! -S /var/run/docker.sock ] && [ -z "$DOCKER_HOST" ]; then
6-
echo "**** Docker mod not set up properly, skipping SWAG auto-proxy ****"
6+
echo "**** Docker not set up properly, skipping swag-ondemand ****"
77
exit 0
88
fi
99

0 commit comments

Comments
 (0)