Update setup.sh
This commit is contained in:
parent
112d52ac7f
commit
b1d032fc76
21
setup.sh
21
setup.sh
@ -57,8 +57,7 @@ sh <(curl -sSL https://get.docker.com) &>/dev/null
|
||||
# Install Portainer
|
||||
msg "Installing Portainer..."
|
||||
FOLDER_PORTAINER='/docker/portainer'
|
||||
mkdir -p $FOLDER_PORTAINER
|
||||
# docker volume create portainer_data >/dev/null
|
||||
mkdir -p $(dirname $FOLDER_PORTAINER)
|
||||
docker run -d \
|
||||
-p 8000:8000 \
|
||||
-p 9000:9000 \
|
||||
@ -78,10 +77,10 @@ docker run -d \
|
||||
--cleanup \
|
||||
--label-enable &>/dev/null
|
||||
|
||||
# Instal VSCode
|
||||
# Install VSCode
|
||||
msg "Installing VSCode..."
|
||||
FOLDER_VSCODE='/docker/vscode'
|
||||
mkdir -p $FOLDER_VSCODE
|
||||
mkdir -p $(dirname $FOLDER_VSCODE)
|
||||
docker run -d \
|
||||
--name=vscode \
|
||||
-e TZ=Europe/Amsterdam \
|
||||
@ -92,6 +91,20 @@ docker run -d \
|
||||
--restart unless-stopped \
|
||||
ghcr.io/linuxserver/code-server &>/dev/null
|
||||
|
||||
# Install BitWarden
|
||||
msg "Installing BitWarden..."
|
||||
FOLDER_BITWARDEN='/docker/bitwarden'
|
||||
mkdir -p $(dirname $FOLDER_BITWARDEN)
|
||||
docker run -d \
|
||||
--name bitwarden \
|
||||
--label com.centurylinklabs.watchtower.enable=false \
|
||||
-v /docker/bitwarden:/data/ \
|
||||
-v /etc/timezone:/etc/timezone:ro \
|
||||
-v /etc/localtime:/etc/localtime:ro \
|
||||
-p 80:80 -p 3012:3012 \
|
||||
-e ADMIN_TOKEN=RootPassword \
|
||||
bitwardenrs/server:latest &>/dev/null
|
||||
|
||||
# Customize container
|
||||
msg "Customizing container..."
|
||||
rm /etc/motd # Remove message of the day after login
|
||||
|
Loading…
x
Reference in New Issue
Block a user