This commit is contained in:
2025-06-11 17:14:19 +03:00
parent fd0510e756
commit 08766b9394
4 changed files with 16 additions and 3 deletions

3
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"editor.fontSize": 14
}

View File

@@ -1,7 +1,9 @@
## proxy
## Proxmox helper scripts.
to use the scripts, type:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/galoz11/proxy/refs/heads/main/<Script_Name>.sh)"
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/docker_portainer.sh)"

View File

@@ -1,4 +1,5 @@
#!/bin/bash
function header_info {
echo
echo -e " ${DGN}${APP}${CL}"

View File

@@ -60,7 +60,14 @@ if [ "$(docker ps -a -q -f name=^/${CONTAINER}$)" ]; then
else
echo -e "${CN} '$CONTAINER' does not exist, creating it now"
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 "Portainer should be reachable by going to the following URL.
${BL}https://$IP:9443${CL} \n"