feat: more tools and rename
This commit is contained in:
parent
a5f81bcaef
commit
af9268cbc0
8 changed files with 40 additions and 4 deletions
|
@ -2,8 +2,10 @@
|
|||
|
||||
if grep -q "debian" /etc/os-release; then
|
||||
echo "installing packages..."
|
||||
apt update
|
||||
apt install \
|
||||
apt update -y
|
||||
apt install -y \
|
||||
cifs-utils \
|
||||
restic
|
||||
restic \
|
||||
docker.io \
|
||||
docker-compose
|
||||
fi
|
11
tools/setup/40-docker.sh
Normal file
11
tools/setup/40-docker.sh
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
if ! docker network inspect proxy &> /dev/null; then
|
||||
echo "creating proxy network..."
|
||||
docker network create proxy
|
||||
fi
|
||||
|
||||
if ! docker network inspect internal &> /dev/null; then
|
||||
echo "creating internal network..."
|
||||
docker network create internal
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue