Skip to content

Commit

Permalink
fix(config): docker config
Browse files Browse the repository at this point in the history
  • Loading branch information
HarryVasanth authored May 24, 2024
1 parent f66bb27 commit 4b56041
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions sh/debian/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -175,7 +175,6 @@ function checkConfig() {

# Check configs in the List
function checkList() {
checkConfig docker-compose
checkConfig docker
checkConfig node
checkConfig git
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit 4b56041

Please sign in to comment.