Skip to content

PHP7、MySQL、Nginx構成のDockerスターターキット

License

Notifications You must be signed in to change notification settings

lagoon-io/php-mysql-nginx-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-mysql-nginx-starter

Build Status MIT License

PHP7、MySQL、Nginx 構成の Docker

前提条件

・Docker インストール済み
・Docker-compose インストール済み

スタック

・PHP7.2
・MySQL5.7
・phpMyAdmin
・Nginx(最新版)

起動方法

# モジュール取得
$ git clone https://github.com/lagoon-io/php-mysql-nginx-starter.git

# コンテナ作成
$ cd php-mysql-nginx-starter
$ docker-compose up -d

停止方法

$ docker-compose stop

削除方法

# コンテナの削除
$ docker-compose down

Webサーバ

・ポート番号:8080

PHPモジュール配置先

・パス: <プロジェクトルート>/www/html/

DBログイン

・ポート番号:13306
・ユーザー名:root
・パスワード :secret

phpMyAdminログイン

・ポート番号:8888
・ユーザー名:DBログインと同じ
・パスワード :DBログインと同じ

Releases

No releases published

Packages

No packages published