-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall
52 lines (33 loc) · 1.26 KB
/
install
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Server
############################################################################################################
# UFW Firewall install und aktivieren
sudo apt update -y & apt-get install ufw
sudo ufw enable
ufw allow 22
ufw allow 80
ufw allow 443
ufw default deny
sudo ufw status
############################################################################################################
# Install Docker
sudo apt-get update
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
curl -f sSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add –
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
sudo apt-get install docker-ce docker-ce-cli containerd.io
############################################################################################################
# Install docker compose
sudo apt install docker-compose
############################################################################################################
# Install Traefik Proxy
https://blog.networkprofile.org/my-traefik-reverse-proxy-setup/
/media/docker/traefik