The invention relates to the technical field of computers, and discloses an automatic rapid deployment method and
system,
electronic equipment and a storage medium, and the method comprises the steps: obtaining an
operating system type and a
CPU architecture, and determining a Docker-Compose command form; scanning a preset
directory to obtain deployable service sets, and sorting the deployable service sets based on a preset sequence; analyzing the
environment variable file, extracting a variable range, detecting repeated variables, and generating or updating the
environment variable file; replacing placeholder variables in the deployment template and the arrangement file, and backfilling the replaced variables to the
environment variable file; generating Nginx
reverse proxy configuration on the basis of discovered services and static resources, decompressing a
mirror image archiving file in an offline environment, selecting a loading
mirror image according to a
CPU architecture, and skipping import when the loading
mirror image exists; and executing the
SQL and the template
SQL, starting a corresponding service container according to a sorting result, opening a port required by the service, and outputting a service container running log. The efficiency and the success rate in the deployment process can be improved.