timal -> smart-soft

This commit is contained in:
djerom 2024-07-06 10:16:07 +05:00
parent 7c30e44208
commit 43cab082ab
2 changed files with 8 additions and 6 deletions

1
readme Normal file
View File

@ -0,0 +1 @@
curl https://git.infra.smart-soft.kz/djerom/public/raw/branch/master/ubuntu/install-node.sh | bash

View File

@ -8,17 +8,18 @@ curl -L "https://github.com/docker/compose/releases/latest/download/docker-compo
chmod +x /usr/local/bin/docker-compose
# install keys
curl https://git.infra.timal.kz/djerom/public/raw/branch/master/install-keys.sh | bash
curl https://git.infra.smart-soft.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
wget https://git.infra.smart-soft.kz/djerom/public/raw/branch/master/srv/traefik.yml
wget https://git.infra.smart-soft.kz/djerom/public/raw/branch/master/srv/agent.yml
wget https://git.infra.smart-soft.kz/djerom/public/raw/branch/master/srv/mysql.yml
wget https://git.infra.smart-soft.kz/djerom/public/raw/branch/master/srv/docker-compose.yml
# copy base env file
curl https://git.infra.timal.kz/djerom/public/raw/branch/master/srv/.env.example | sed 's/\r$//' > .env
curl https://git.infra.smart-soft.kz/djerom/public/raw/branch/master/srv/.env.example | sed 's/\r$//' > .env
# install updater
curl https://git.infra.timal.kz/djerom/public/raw/branch/master/srv/update.sh | sed 's/\r$//' > update.sh
curl https://git.infra.smart-soft.kz/djerom/public/raw/branch/master/srv/update.sh | sed 's/\r$//' > update.sh
chmod +x /srv/update.sh
echo "*/3 * * * * /srv/update.sh" | crontab -