Last active
June 4, 2024 14:29
-
-
Save zenxedo/626275e095f7f90898944a85d66b3be6 to your computer and use it in GitHub Desktop.
Revisions
-
zenxedo revised this gist
Feb 27, 2023 . 1 changed file with 2 additions and 0 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 @@ -17,6 +17,8 @@ deb http://ftp.debian.org/debian buster-updates main contrib # NOT recommended for production use deb http://download.proxmox.com/debian/pve buster pve-no-subscription set timzone # security updates deb http://security.debian.org buster/updates main contrib ``` -
zenxedo renamed this gist
Jul 25, 2020 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
zenxedo revised this gist
Jul 25, 2020 . 1 changed file with 5 additions and 0 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 @@ -25,6 +25,11 @@ Edit this line and put in front # to comment it out 5. apt update && apt dist-upgrade -y 6. reboot system remove subscription notice nag and hten clear browser cache ``` sed -i.bak "s/data.status !== 'Active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service ``` ## Install Ubuntu Create ubuntu VM in proxmox. During the prompts select yes to download ssh login into VM with ssh using your credentials -
zenxedo revised this gist
Jul 17, 2020 . 1 changed file with 2 additions and 0 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 @@ -44,6 +44,8 @@ https://docs.docker.com/compose/install/ ## SSH setup use this guide to setup ssh https://devops.ionos.com/tutorials/secure-the-ssh-server-on-ubuntu/ or https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys-on-ubuntu-20-04 or alternativley https://www.thegeekdiary.com/using-the-ssh-keygen-command-in-linux/ -
zenxedo revised this gist
Jul 14, 2020 . 1 changed file with 9 additions and 13 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 @@ -27,31 +27,27 @@ Edit this line and put in front # to comment it out ## Install Ubuntu Create ubuntu VM in proxmox. During the prompts select yes to download ssh login into VM with ssh using your credentials ``` sudo apt-get update sudo apt-get upgrade ``` ## Install Docker follow this guide to install docker https://docs.docker.com/install/linux/docker-ce/ubuntu/ ## Install Docker Compose follow this guide to install docker compose for linux https://docs.docker.com/compose/install/ ## SSH setup use this guide to setup ssh https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys-on-ubuntu-20-04 or alternativley https://www.thegeekdiary.com/using-the-ssh-keygen-command-in-linux/ ## Mount NFS https://smallbusiness.chron.com/mount-smb-nfs-shares-ubuntu-31706.html @@ -63,7 +59,7 @@ sudo nano /etc/fstab ## then add the line from below # 10.68.69.2:/mnt/myVol/media /mnt/media nfs auto 0 0 ``` ## Install Portainer If you want to get going quickly with portainer use this. Better option is to use docker compose. ``` docker run -d -p 9000:9000 -p 8000:8000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v /mnt/docker/portainer:/data portainer/portainer ``` -
zenxedo revised this gist
Jan 18, 2020 . 1 changed file with 9 additions and 0 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 @@ -127,6 +127,15 @@ docker-compose down docker-compose up -d <container_name> docker logs -f <container_name> ``` ## Exapanding Ubuntu VM HDD space ``` choose amount to add to virtual HDD of VM mount gparted iso to VM stop VM and boot into gparted exapand partion to unused space reboot ``` ## Macvlan ``` docker network create -d macvlan \ -
zenxedo revised this gist
Jan 15, 2020 . 1 changed file with 1 addition and 0 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 @@ -5,6 +5,7 @@ ## Setup Proxmox 1. Install Proxmox 6.X iso I selected 2 drives in Raid 1 mirror 2. Console/SSH into Proxmox 3. nano /etc/apt/sources.list 4. edit the file to look like this -
zenxedo revised this gist
Jan 15, 2020 . 1 changed file with 2 additions and 0 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 @@ -19,6 +19,8 @@ deb http://download.proxmox.com/debian/pve buster pve-no-subscription # security updates deb http://security.debian.org buster/updates main contrib ``` 5. nano /etc/apt/sources.list.d/pve-enterprise.list Edit this line and put in front # to comment it out 5. apt update && apt dist-upgrade -y 6. reboot system -
zenxedo revised this gist
Jan 12, 2020 . 1 changed file with 35 additions and 17 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,8 +1,29 @@ **This is a work in progress, proceed with caution** # Install Proxmox and a Ubuntu VM with Portainer to manage docker containers ## Setup Proxmox 1. Install Proxmox 6.X iso 2. Console/SSH into Proxmox 3. nano /etc/apt/sources.list 4. edit the file to look like this ``` deb http://ftp.debian.org/debian buster main contrib deb http://ftp.debian.org/debian buster-updates main contrib # PVE pve-no-subscription repository provided by proxmox.com, # NOT recommended for production use deb http://download.proxmox.com/debian/pve buster pve-no-subscription # security updates deb http://security.debian.org buster/updates main contrib ``` 5. apt update && apt dist-upgrade -y 6. reboot system ## Install Ubuntu Create ubuntu VM in proxmox. During the prompts select yes to download ssh login into VM thorough ssh change to root @@ -13,10 +34,8 @@ apt-get upgrade ``` ## Install Docker follow this guide to install docker https://docs.docker.com/install/linux/docker-ce/ubuntu/ ## Install Docker Compose https://docs.docker.com/compose/install/ @@ -25,23 +44,23 @@ sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker- sudo chmod +x /usr/local/bin/docker-compose ``` ## SSH setup use this guide to setup ssh https://www.thegeekdiary.com/using-the-ssh-keygen-command-in-linux/ ``` ssh-keygen -t rsa ``` ## Mount NFS https://smallbusiness.chron.com/mount-smb-nfs-shares-ubuntu-31706.html ``` sudo apt-get install nfs-common ##add persistant nfs with reboots, add a line in /etc/fstab sudo nano /etc/fstab ## then add the line from below # 10.68.69.2:/mnt/myVol/docker /mnt/docker nfs auto 0 0 # 10.68.69.2:/mnt/myVol/media /mnt/media nfs auto 0 0 ``` ## Install Portainer If you want to get going quickly with portainer use this. Better opion is to use docker compose. ``` docker run -d -p 9000:9000 -p 8000:8000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v /mnt/docker/portainer:/data portainer/portainer ``` @@ -66,15 +85,6 @@ Let compose update all containers as necessary: docker-compose up -d or update a single container: docker-compose up -d radarr You can also remove the old dangling images: docker image prune ``` ## Smb ubuntu ``` https://help.ubuntu.com/community/How%20to%20Create%20a%20Network%20Share%20Via%20Samba%20Via%20CLI%20%28Command-line%20interface/Linux%20Terminal%29%20-%20Uncomplicated%2C%20Simple%20and%20Brief%20Way%21 @@ -113,4 +123,12 @@ docker-compose pull docker-compose down docker-compose up -d <container_name> docker logs -f <container_name> ``` ## Macvlan ``` docker network create -d macvlan \ --subnet=10.68.69.0/24 \ --ip-range=10.68.69.0/24 \ --gateway=10.68.69.1 \ -o parent=ens18 macvlan0 ``` -
zenxedo revised this gist
Jan 12, 2020 . 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 @@ -1,6 +1,6 @@ **This is a work in progress, proceed with caution** # Install Proxmox and a Ubuntu VM with Portainer to manage docker containers Install Ubuntu Create ubuntu VM during the prompts select yes to download ssh login into VM thorough ssh -
zenxedo revised this gist
Jan 12, 2020 . 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 @@ -40,7 +40,7 @@ sudo nano /etc/fstab ## then add the line from below # 10.68.69.2:/mnt/myVol/docker /mnt/docker nfs auto 0 0 # 10.68.69.2:/mnt/myVol/media /mnt/media nfs auto 0 0 ``` ## Install Portainer If you want to get going quickly with portainer use this. Better opion is to use dokcer compose. ``` docker run -d -p 9000:9000 -p 8000:8000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v /mnt/docker/portainer:/data portainer/portainer -
zenxedo revised this gist
Jan 12, 2020 . 1 changed file 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 @@ -18,7 +18,7 @@ https://docs.docker.com/install/linux/docker-ce/ubuntu/ #follow guide above ``` ## Install Docker Compose https://docs.docker.com/compose/install/ ``` sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose @@ -45,7 +45,7 @@ If you want to get going quickly with portainer use this. Better opion is to use ``` docker run -d -p 9000:9000 -p 8000:8000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v /mnt/docker/portainer:/data portainer/portainer ``` ## Get started with docker compose https://docs.docker.com/compose/gettingstarted/ ``` mk dir container1 -
zenxedo revised this gist
Jan 12, 2020 . 1 changed file with 6 additions and 6 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 @@ -24,14 +24,14 @@ https://docs.docker.com/compose/install/ sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose ``` ## SSH setup https://www.thegeekdiary.com/using-the-ssh-keygen-command-in-linux/ ``` ssh-keygen -t rsa ``` ## Mount NFS https://smallbusiness.chron.com/mount-smb-nfs-shares-ubuntu-31706.html ``` sudo apt-get install nfs-common @@ -58,7 +58,7 @@ docker-compose up ##navigate to portainer or go directly to you the newly created container ``` ## Update Via Docker Compose ``` Update all images: docker-compose pull or update a single image: docker-compose pull radarr @@ -67,15 +67,15 @@ or update a single container: docker-compose up -d radarr You can also remove the old dangling images: docker image prune ``` ## Macvlan ``` docker network create -d macvlan \ --subnet=10.68.69.0/24 \ --ip-range=10.68.69.0/24 \ --gateway=10.68.69.1 \ -o parent=ens18 macvlan0 ``` ## Smb ubuntu ``` https://help.ubuntu.com/community/How%20to%20Create%20a%20Network%20Share%20Via%20Samba%20Via%20CLI%20%28Command-line%20interface/Linux%20Terminal%29%20-%20Uncomplicated%2C%20Simple%20and%20Brief%20Way%21 ``` @@ -92,7 +92,7 @@ service smbd restart service nmbd restart ``` ## Docker Commands ``` docker ps -a docker images -a -
zenxedo revised this gist
Jan 12, 2020 . 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 @@ -12,7 +12,7 @@ apt-get update apt-get upgrade ``` ## Install Docker https://docs.docker.com/install/linux/docker-ce/ubuntu/ ``` #follow guide above -
zenxedo revised this gist
Jan 12, 2020 . 1 changed file with 2 additions 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 @@ -1,6 +1,7 @@ **This is a work in progress, proceed with caution** # Install Ubuntu-LTS VM with Docker, docker-compose, portainer Install Ubuntu Create ubuntu VM during the prompts select yes to download ssh login into VM thorough ssh -
zenxedo revised this gist
Jan 12, 2020 . 1 changed file with 1 addition and 3 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 @@ -91,10 +91,8 @@ service smbd restart service nmbd restart ``` # Docker Commands ``` docker ps -a docker images -a docker-compose ps -a -
zenxedo revised this gist
Jan 12, 2020 . 1 changed file with 3 additions 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 @@ -74,8 +74,10 @@ You can also remove the old dangling images: docker image prune --gateway=10.68.69.1 \ -o parent=ens18 macvlan0 ``` # Smb ubuntu ``` https://help.ubuntu.com/community/How%20to%20Create%20a%20Network%20Share%20Via%20Samba%20Via%20CLI%20%28Command-line%20interface/Linux%20Terminal%29%20-%20Uncomplicated%2C%20Simple%20and%20Brief%20Way%21 ``` add the next configurations into the end of [global] section of smb.conf for windows visiblity ``` -
zenxedo revised this gist
Jan 12, 2020 . 1 changed file with 25 additions and 0 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 @@ -87,4 +87,29 @@ and then restart the service: ``` service smbd restart service nmbd restart ``` #Docker Commands ``` Docker Commands docker ps -a docker images -a docker-compose ps -a docker-compose exec —it <cotainer_name> bash docker run --rm --name test1 -it <image_name:tag> bash docker stop <container_name> docker commit <container_id> docker rmi <image_id> docker rm <container_id> dockker-system prune -a docker-compose start docker-compose stop docker-compose pull docker-compose down docker-compose up -d <container_name> docker logs -f <container_name> ``` -
zenxedo revised this gist
Jan 1, 2020 . 1 changed file with 10 additions and 0 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 @@ -76,5 +76,15 @@ You can also remove the old dangling images: docker image prune ``` Smb ubuntu https://help.ubuntu.com/community/How%20to%20Create%20a%20Network%20Share%20Via%20Samba%20Via%20CLI%20%28Command-line%20interface/Linux%20Terminal%29%20-%20Uncomplicated%2C%20Simple%20and%20Brief%20Way%21 add the next configurations into the end of [global] section of smb.conf for windows visiblity ``` domain master = no local master = yes preferred master = yes ``` and then restart the service: ``` service smbd restart service nmbd restart ``` -
zenxedo revised this gist
Jan 1, 2020 . 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 @@ -75,6 +75,6 @@ You can also remove the old dangling images: docker image prune -o parent=ens18 macvlan0 ``` Smb ubuntu https://help.ubuntu.com/community/How%20to%20Create%20a%20Network%20Share%20Via%20Samba%20Via%20CLI%20%28Command-line%20interface/Linux%20Terminal%29%20-%20Uncomplicated%2C%20Simple%20and%20Brief%20Way%21 ``` ``` -
zenxedo revised this gist
Jan 1, 2020 . 1 changed file with 4 additions and 0 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 @@ -73,4 +73,8 @@ You can also remove the old dangling images: docker image prune --ip-range=10.68.69.0/24 \ --gateway=10.68.69.1 \ -o parent=ens18 macvlan0 ``` Smb ubuntu https://help.ubuntu.com/community/How%20to%20Create%20a%20Network%20Share%20Via%20Samba%20Via%20CLI%20%28Command-line%20interface/Linux%20Terminal%29%20-%20Uncomplicated,%20Simple%20and%20Brief%20Way! ``` ``` -
zenxedo revised this gist
Dec 28, 2019 . 1 changed file with 1 addition and 0 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 @@ -40,6 +40,7 @@ sudo nano /etc/fstab ## then add the line from below # 10.68.69.2:/mnt/myVol/media /mnt/media nfs auto 0 0 ``` # Install Portainer If you want to get going quickly with portainer use this. Better opion is to use dokcer compose. ``` docker run -d -p 9000:9000 -p 8000:8000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v /mnt/docker/portainer:/data portainer/portainer ``` -
zenxedo revised this gist
Dec 28, 2019 . 1 changed file with 6 additions and 0 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 @@ -22,6 +22,12 @@ https://docs.docker.com/compose/install/ ``` sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose ``` # SSH setup https://www.thegeekdiary.com/using-the-ssh-keygen-command-in-linux/ ``` ssh-keygen -t rsa ``` # Mount NFS -
zenxedo revised this gist
Dec 5, 2019 . 1 changed file with 13 additions and 12 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,42 +1,43 @@ **This is a work in progress, proceed with caution** # Install Ubuntu Create ubuntu VM during the prompts select yes to download ssh login into VM thorough ssh change to root ``` sudo su apt-get update apt-get upgrade ``` # Install Docker https://docs.docker.com/install/linux/docker-ce/ubuntu/ ``` #follow guide above ``` # Install Docker Compose https://docs.docker.com/compose/install/ ``` sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose ``` # Mount NFS https://smallbusiness.chron.com/mount-smb-nfs-shares-ubuntu-31706.html ``` sudo apt-get install nfs-common ##make persistant with reboots add a line in /etc/fstab sudo nano /etc/fstab ## then add the line from below # 10.68.69.2:/mnt/myVol/docker /mnt/docker nfs auto 0 0 # 10.68.69.2:/mnt/myVol/media /mnt/media nfs auto 0 0 ``` # Install Portainer ``` docker run -d -p 9000:9000 -p 8000:8000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v /mnt/docker/portainer:/data portainer/portainer ``` # Get started with docker compose https://docs.docker.com/compose/gettingstarted/ ``` mk dir container1 @@ -49,7 +50,7 @@ docker-compose up ##navigate to portainer or go directly to you the newly created container ``` # Update Via Docker Compose ``` Update all images: docker-compose pull or update a single image: docker-compose pull radarr @@ -58,7 +59,7 @@ or update a single container: docker-compose up -d radarr You can also remove the old dangling images: docker image prune ``` # Macvlan ``` docker network create -d macvlan \ --subnet=10.68.69.0/24 \ -
zenxedo revised this gist
Nov 27, 2019 . 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 @@ -34,7 +34,7 @@ sudo nano /etc/fstab ## then add the line from below ``` Install Portainer ``` docker run -d -p 9000:9000 -p 8000:8000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v /mnt/docker/portainer:/data portainer/portainer ``` Get started with docker compose https://docs.docker.com/compose/gettingstarted/ -
zenxedo revised this gist
Nov 27, 2019 . 1 changed file with 2 additions 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 @@ -29,7 +29,8 @@ sudo apt-get install nfs-common sudo mount -o soft,intr,rsize=8192,wsize=8192 10.68.69.2:/mnt/myVol/appsNFS /mnt ##make persistant with reboots add a line in /etc/fsatab sudo nano /etc/fstab ## then add the line from below # 10.68.69.2:/mnt/myVol/docker /mnt/docker nfs auto 0 0 # 10.68.69.2:/mnt/myVol/media /mnt/media nfs auto 0 0 ``` Install Portainer ``` -
zenxedo revised this gist
Nov 17, 2019 . 1 changed file with 9 additions and 0 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 @@ -55,4 +55,13 @@ or update a single image: docker-compose pull radarr Let compose update all containers as necessary: docker-compose up -d or update a single container: docker-compose up -d radarr You can also remove the old dangling images: docker image prune ``` Macvlan ``` docker network create -d macvlan \ --subnet=10.68.69.0/24 \ --ip-range=10.68.69.0/24 \ --gateway=10.68.69.1 \ -o parent=ens18 macvlan0 ``` -
zenxedo revised this gist
Nov 15, 2019 . 1 changed file 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 @@ -27,8 +27,9 @@ https://smallbusiness.chron.com/mount-smb-nfs-shares-ubuntu-31706.html ``` sudo apt-get install nfs-common sudo mount -o soft,intr,rsize=8192,wsize=8192 10.68.69.2:/mnt/myVol/appsNFS /mnt ##make persistant with reboots add a line in /etc/fsatab sudo nano /etc/fstab ## then add the line from below # 10.68.69.2:/mnt/myVol/appsNFS /mnt nfs auto 0 0 ``` Install Portainer ``` -
zenxedo revised this gist
Nov 15, 2019 . 1 changed file with 2 additions and 0 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 @@ -27,6 +27,8 @@ https://smallbusiness.chron.com/mount-smb-nfs-shares-ubuntu-31706.html ``` sudo apt-get install nfs-common sudo mount -o soft,intr,rsize=8192,wsize=8192 10.68.69.2:/mnt/myVol/appsNFS /mnt ##make persistant with reboots add a line in /etc/fstab 10.68.69.2:/mnt/myVol/appsNFS /mnt nfs auto 0 0 ``` Install Portainer ``` -
zenxedo revised this gist
Nov 14, 2019 . 1 changed file with 9 additions and 0 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 @@ -44,3 +44,12 @@ nano docker-compose.yml docker-compose up ##navigate to portainer or go directly to you the newly created container ``` Update Via Docker Compose ``` Update all images: docker-compose pull or update a single image: docker-compose pull radarr Let compose update all containers as necessary: docker-compose up -d or update a single container: docker-compose up -d radarr You can also remove the old dangling images: docker image prune ```
NewerOlder