fix(config): docker config

This commit is contained in:
Harry 2024-05-24 14:46:04 +01:00 committed by GitHub
parent f66bb27249
commit 4b5604108e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 4 deletions

View File

@ -138,7 +138,7 @@ EOF
sed -i '/swap/d' /etc/fstab
# Docker
curl -fsSL https://get.docker.com -o get-docker.sh && bash get-docker.sh && apt-get -y install docker-compose
curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh
# NodeJS
curl -fsSL https://deb.nodesource.com/setup_20.x | bash && apt-get install -y nodejs
@ -175,7 +175,6 @@ function checkConfig() {
# Check configs in the List
function checkList() {
checkConfig docker-compose
checkConfig docker
checkConfig node
checkConfig git
@ -276,8 +275,7 @@ function deployPlatform() {
cd /root/$serverFQDN
# Generate platform environment file automatically
./generate_env.sh --auto
docker-compose up --build --detach
./redeploy.sh --latest
./redeploy.sh --hard
}
function clonePlatform() {