16 lines
642 B
Bash
16 lines
642 B
Bash
cd /srv
|
|
|
|
# install software
|
|
apt install nano wget curl docker.io docker-compose -y
|
|
|
|
# install keys
|
|
curl https://git.infra.timal.kz/djerom/public/raw/branch/master/install-keys.sh | bash
|
|
|
|
# copy base services (traefik, agent)
|
|
wget https://git.infra.timal.kz/djerom/public/raw/branch/master/srv/traefik.yml
|
|
wget https://git.infra.timal.kz/djerom/public/raw/branch/master/srv/agent.yml
|
|
wget https://git.infra.timal.kz/djerom/public/raw/branch/master/srv/mysql.yml
|
|
|
|
# install updater
|
|
wget https://git.infra.timal.kz/djerom/public/raw/branch/master/srv/update.sh
|
|
echo "*/3 * * * * /srv/update.sh" >> /etc/crontabs/root |