dl

Форк
1
4 месяца назад
Sergey Voloshin
Merge pull request #117 from local-deploy/DL-T-79 feat(project): replacing php.ini variables in a container
56e593
README.md

DL Logo

Deploy Local — site deployment assistant locally.

A convenient wrapper over docker-compose, which simplifies the local deployment of the project.

Release Software License GitHub Actions Go Report Card Go Doc

Deploy Local — is a command line interface designed to help developers quickly deploy projects to their local machine.
DL is a wrapper on top of Docker and docker-compose, in basic use no additional software or libraries are required to be installed.

Documentation local-deploy.github.io

cast

Supported

Supported OS: Linux, macOS, Windows (via WSL2)
Supported architectures: x64, arm64
Supported frameworks and CMS: Bitrix, Laravel, WordPress

Features

  • Support for PHP versions (apache and php-fpm) 7.3, 7.4, 8.0, 8.1, 8.2
  • Support for MySQL versions 5.7, 8.0
  • Downloading the database and files from the production server
  • Redis
  • Memcached
  • Nginx
  • Cross-platform
  • Interception of mail sent via php
  • Portainer - docker container management system
  • Does not require root access (when installing the executable file in the user's directory)
  • Accessing sites from the browser via .localhost or .nip.io
  • Ability to add custom docker-compose.yaml files to DL configuration

Dependencies

  • docker (more than v22)
  • docker-compose v2

The docker compose (as plugin) supported

Install

Choose the installation method that suits you:

See all available installation methods https://local-deploy.github.io/getting-started/install

Upgrading from version 0.* to version 1.*

Just reinstall the application using one of the above methods. Updating using the built-in commands is not possible.

Usage

  1. Start service containers (traefik, mailhog, portainer) with the command (at the first start):

    dl service up
  2. Create .env file in the root directory of your project with the command:

    dl env
  3. Set the required variables in the .env file

  4. Run the command if you need to download the database and/or files from the production-server:

    dl deploy
  5. Run local project with command:

    dl up

See quick reference for available commands.


Remember that dl is meant for development purposes, not production.

Описание

Deploy Local — site deployment assistant locally.

Сообщить о нарушении

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.