Configuration ---> local project will be deployed to the cloud Ali

Description:

  • Item code
  • Learning Address
  • Project front end uses nginx proxy
  • Backend express Framework
  • Use PM2 deploy backend
  • Use mongoDB for persistence
  • nginx, express, PM2, mongoDB etc., deployed in the docker.
  • .Sh file for the project using one-button start

Local Startup Items

  • 1. github to start pulling Code git clone https://github.com/Lizhhhh/L-node.git
  • 2. Go to the directoryL-node/Kaikeba/24.node部署/docker/docker-compose/
  • 3. Run the script file one-button start sh deploy-dev.sh
    Here Insert Picture Description
    Here Insert Picture Description

Deploy the project to Ali cloud above

  1. Connect to a remote server (whether through test) sh [email protected]
    [Note]: connection problems remotely connect to the Linux operating system instance
    Here Insert Picture Description
    2. Move all of the resources under the docker-compose on Ali cloud
    [Note]: use the FileZilla software
    Here Insert Picture Description

Published 177 original articles · won praise 22 · views 20000 +

Guess you like

Origin blog.csdn.net/piano9425/article/details/103553533