Browse Source

fix(config): docker config

pull/2582/head
Harry 4 months ago committed by GitHub
parent
commit
4b5604108e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      sh/debian/configure.sh

6
sh/debian/configure.sh diff.vendored

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

Loading…
Cancel
Save