承接 ajifatur/faturdocker 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ajifatur/faturdocker

最新稳定版本:v1.0.1

Composer 安装命令:

composer require ajifatur/faturdocker

包简介

Project that containerizing project

README 文档

README

Total Downloads Latest Stable Version License WakaTime

Prerequisite

  • Laravel >= 10

Installation

Download From Composer:

Run this script into your CLI:

composer require ajifatur/faturdocker

Configuration:

Add this script into config/app.php file in providers section:

Ajifatur\FaturHelper\FaturDockerServiceProvider::class,

Run this script into your CLI every after install or update the faturdocker:

php artisan faturdocker:install

Edit docker/mysql/init/create_databases.sql file if you want to change or add database as you want.

Edit database configuration in .env file:

## DB_HOST is filled with mysql-db' container name in `docker-compose.yml`
## DB_PASSWORD is filled with MYSQL_PASSWORD in `docker-compose.yml`
DB_HOST="faturdocker-mysql"
DB_PASSWORD=secret

Run this script into your CLI:

docker-compose build
docker-compose up -d

Additional:

Add this into .gitignore file to ignore files or directories in your Git:

/docker
docker-compose.yml
DockerFile

Enjoy!

Open http://localhost:9000 because the web server is on 9000 port.

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-12-18