https://github.com/ablaze-mirai/docker-php-mariadb
PHP+MariaDBのDockerテンプレート
https://github.com/ablaze-mirai/docker-php-mariadb
docker docker-template
Last synced: about 1 month ago
JSON representation
PHP+MariaDBのDockerテンプレート
- Host: GitHub
- URL: https://github.com/ablaze-mirai/docker-php-mariadb
- Owner: Ablaze-MIRAI
- License: mit
- Created: 2022-04-30T15:41:57.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-12T14:44:29.000Z (about 4 years ago)
- Last Synced: 2025-07-10T13:26:59.535Z (12 months ago)
- Topics: docker, docker-template
- Language: PHP
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker-PHP-MariaDB
PHP(Apache) + MariaDBの環境がすぐに構築できるDockerテンプレートです。
## How to Use
1. 次のコマンドを実行
```bash
git clone https://github.com/Ablaze-MIRAI/Docker-PHP-MariaDB.git
cd Docker-PHP-MariaDB
docker compose up #コンテナの起動
```
2. [http://localhost:3000](http://localhost:3000) へアクセス

3. `index.php`を削除して`src`内にスクリプトを入れる
## Description
PHP(Apache)が `3000`, MariaDBが `3306` で起動します
### MariaDB設定情報
Database Address: `database`
Database Name: `docker`
User Name: `docker`
User Pass: `docker`
Root Pass: `root`