initial commit
This commit is contained in:
24
docker_portainer_stacks/portainer/script/install_nosudo
Normal file
24
docker_portainer_stacks/portainer/script/install_nosudo
Normal file
@ -0,0 +1,24 @@
|
||||
#!/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
|
Reference in New Issue
Block a user