24 lines
		
	
	
		
			755 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			755 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/usr/bin/env bash
 | 
						|
###################################
 | 
						|
############ by Sthope ############
 | 
						|
###################################
 | 
						|
 | 
						|
## nano ~/.bashrc
 | 
						|
## and add this to the end of the file: export PATH=$PATH:~/bin
 | 
						|
## sudo chmod +x ~/bin/*;su -l $USER
 | 
						|
 | 
						|
#### USAGE
 | 
						|
# bash -c "$(wget -qLO - https://git.sthope.dev/sthope/docker_portainer_stacks/raw/branch/master/portainer/script/install_nosudo)"
 | 
						|
# 
 | 
						|
 | 
						|
apt-get update
 | 
						|
apt-get upgrade -y
 | 
						|
 | 
						|
bash -c "$(wget -qLO - https://git.sthope.dev/sthope/docker_portainer_stacks/raw/branch/master/docker-compose/config.sh)"
 | 
						|
 | 
						|
mkdir -p /docker/portainer
 | 
						|
mkdir -p /docker/vscode
 | 
						|
 | 
						|
wget https://git.sthope.dev/sthope/docker_portainer_stacks/raw/branch/master/portainer/docker-compose.yml -P /docker/
 | 
						|
 | 
						|
cd /test/;docker-compose up -d  |