Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/robertov8/docker-php

Docker with php, mariadb and phpmyadmin
https://github.com/robertov8/docker-php

composer docker mariadb php phpmyadmin

Last synced: 28 days ago
JSON representation

Docker with php, mariadb and phpmyadmin

Awesome Lists containing this project

README

        

# docker-php
Docker with php, mariadb and phpmyadmin

Clone
```
$ git clone [email protected]:robertov82008/docker-php.git project && cd project
```

Project - Directory Apps
```
project $ mkdir www && cd www
```

Start docker
```
project $ docker-compose up
```

Composer
```
project/www $ docker-compose run manager composer list
```

Create Project - CodeIgniter
```
project/www $ docker-compose run manager composer create-project codeigniter/framework
```

## Config

### mysql
* `MYSQL_ROOT_PASSWORD=root`
* `MYSQL_DATABASE=root`

### PHP
* ports
* 80
* 443
* volumes
* www

### PHPMyAdmin
* `PMA_USER=root`
* `PMA_PASSWORD=root`
* ports
* 8080