Merge branch 'main' of https://github.com/galoz11/proxy
This commit is contained in:
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"editor.fontSize": 14
|
||||||
|
}
|
||||||
@@ -1,7 +1,9 @@
|
|||||||
## proxy
|
## Proxmox helper scripts.
|
||||||
|
|
||||||
to use the scripts, type:
|
to use the scripts, type:
|
||||||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/galoz11/proxy/refs/heads/main/<Script_Name>.sh)"
|
bash -c "$(curl -fsSL https://raw.githubusercontent.com/galoz11/proxy/refs/heads/main/<Script_Name>.sh)"
|
||||||
|
|
||||||
example:
|
example:
|
||||||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/galoz11/proxy/refs/heads/main/code_server.sh)"
|
bash -c "$(curl -fsSL https://raw.githubusercontent.com/galoz11/proxy/refs/heads/main/code_server.sh)"
|
||||||
|
|
||||||
|
bash -c "$(curl -fsSL https://raw.githubusercontent.com/galoz11/proxy/refs/heads/main/docker_portainer.sh)"
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
function header_info {
|
function header_info {
|
||||||
echo
|
echo
|
||||||
echo -e " ${DGN}${APP}${CL}"
|
echo -e " ${DGN}${APP}${CL}"
|
||||||
|
|||||||
@@ -60,7 +60,14 @@ if [ "$(docker ps -a -q -f name=^/${CONTAINER}$)" ]; then
|
|||||||
else
|
else
|
||||||
echo -e "${CN} '$CONTAINER' does not exist, creating it now"
|
echo -e "${CN} '$CONTAINER' does not exist, creating it now"
|
||||||
docker volume create portainer_data &>/dev/null
|
docker volume create portainer_data &>/dev/null
|
||||||
docker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest &>/dev/null
|
docker run -d \
|
||||||
|
-p 8000:8000 \
|
||||||
|
-p 9443:9443 \
|
||||||
|
--name portainer \
|
||||||
|
--restart=always \
|
||||||
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||||
|
-v portainer_data:/data \
|
||||||
|
portainer/portainer-ce:latest &>/dev/null
|
||||||
echo -e "${BFR}${BFR}${CM} $CONTAINER installed"
|
echo -e "${BFR}${BFR}${CM} $CONTAINER installed"
|
||||||
echo -e "Portainer should be reachable by going to the following URL.
|
echo -e "Portainer should be reachable by going to the following URL.
|
||||||
${BL}https://$IP:9443${CL} \n"
|
${BL}https://$IP:9443${CL} \n"
|
||||||
|
|||||||
Reference in New Issue
Block a user