Last active
April 24, 2024 06:38
-
-
Save TopperBG/4f9e0074ccdfb0dc84c2d1af6711a7f6 to your computer and use it in GitHub Desktop.
Revisions
-
TopperBG revised this gist
Apr 24, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ curl -X DELETE "http://192.168.1.110:2375/containers/pmm-temp" curl -X POST -H "Content-Type: application/json" "http://192.168.1.110:2375/containers/create?name=pmm-temp" -d '{ "Image": "kometateam/imagemaid", "Cmd": ["--overlays", "--run", "-ig", "--ignore-schedules", "--no-missing"], "HostConfig": { "Binds": ["/root/docker/etc/plexmetamanager:/config"], -
TopperBG revised this gist
Feb 1, 2024 . No changes.There are no files selected for viewing
-
TopperBG revised this gist
Feb 1, 2024 . 2 changed files with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ #/etc/systemd/system/docker.service.d/override.conf <- where to save a file, remove that line after that [Service] ExecStart= ExecStart=/usr/bin/dockerd --config-file /etc/docker/daemon.json --containerd=/run/containerd/containerd.sock This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ #!/bin/bash # Place sciprt in /config folder, mapped in Tatulli container. Change 192.168.1.110 according your setup. curl -X DELETE "http://192.168.1.110:2375/containers/pmm-temp" -
TopperBG revised this gist
Nov 3, 2023 . 2 changed files with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ #/etc/systemd/system/docker.service.d/override.conf <- where to save a file, remove that line after thatf [Service] ExecStart= ExecStart=/usr/bin/dockerd --config-file /etc/docker/daemon.json --containerd=/run/containerd/containerd.sock This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,7 @@ #!/bin/bash # Place sciprt in /config folder, mapped in Tatulli container curl -X DELETE "http://192.168.1.110:2375/containers/pmm-temp" curl -X POST -H "Content-Type: application/json" "http://192.168.1.110:2375/containers/create?name=pmm-temp" -d '{ -
TopperBG revised this gist
Nov 3, 2023 . 3 changed files with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ #/etc/docker/daemon.json <- where to save a file, remove that line after that { "hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"] } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ #/etc/systemd/system/docker.service.d/override.conf <- where to save a file, remove that line after that [Service] ExecStart= ExecStart=/usr/bin/dockerd --config-file /etc/docker/daemon.json --containerd=/run/containerd/containerd.sock This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,4 @@ # /config folder, mapped in Tatulli container <- where to save a file, remove that line after that #!/bin/bash curl -X DELETE "http://192.168.1.110:2375/containers/pmm-temp" -
TopperBG created this gist
Nov 3, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ #/etc/docker/daemon.json { "hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"] } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ #/etc/systemd/system/docker.service.d/override.conf [Service] ExecStart= ExecStart=/usr/bin/dockerd --config-file /etc/docker/daemon.json --containerd=/run/containerd/containerd.sock This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ #!/bin/bash curl -X DELETE "http://192.168.1.110:2375/containers/pmm-temp" curl -X POST -H "Content-Type: application/json" "http://192.168.1.110:2375/containers/create?name=pmm-temp" -d '{ "Image": "meisnate12/plex-meta-manager", "Cmd": ["--overlays", "--run", "-ig", "--ignore-schedules", "--no-missing"], "HostConfig": { "Binds": ["/root/docker/etc/plexmetamanager:/config"], "AutoRemove": true } }' curl -X POST -H "Content-Type: application/json" "http://192.168.1.110:2375/containers/pmm-temp/start" TIMESTAMP=`date "+%Y-%m-%d %H:%M:%S"` echo "PMM run at $TIMESTAMP" >> /config/pmm-temp.log exit 0