Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cakebake/docker-lamp-php7.2
Linux/Apache/MySQL/PHP development environment optimized for xt:Commerce and TYPO3.
https://github.com/cakebake/docker-lamp-php7.2
Last synced: about 3 hours ago
JSON representation
Linux/Apache/MySQL/PHP development environment optimized for xt:Commerce and TYPO3.
- Host: GitHub
- URL: https://github.com/cakebake/docker-lamp-php7.2
- Owner: cakebake
- Created: 2018-07-05T10:10:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-05T11:25:52.000Z (over 6 years ago)
- Last Synced: 2024-11-09T18:06:47.992Z (about 2 months ago)
- Language: PHP
- Size: 111 KB
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Docker LAMP
===========Linux/Apache/MySQL/PHP development environment optimized for xt:Commerce and TYPO3.
### Features
- **PHP 7.2** (CLI & Apache 2.0 Handler)
- ionCube PHP Loader
- Zend OPcache
- Xdebug (Set breakpoint in code with function `xdebug_break()`\)
- Composer
- **MySQL 5.7** (Container is stateless and data is mapped to `./mysql/data` directory)
- phpMyAdmin
- Colored bash prompt with git support
- Imagemagick
- Default locale `de_DE.UTF-8`
- Default localtime `Europe/Berlin`### Web access
http://localhost:8080/
### phpMyAdmin access
http://localhost:8282/
### MySQL access
```
Host internal: db
Port internal: 3306Host external/remote: localhost
Port external/remote: 8181User: user
Password: password
Database: databaseRoot Password: root
```Build
-----If you are running under linux, please check your users pid and change pid in file `./php/Dockerfile`. Example: `RUN usermod -o -u 1000 www-data`
```
docker-compose build
```Run
---```
docker-compose up
```or
```
docker-compose up -d
```> Param `-d` runs container in background (detach)
Bash into
---------```
docker exec -ti docker-lamp-php72_php_1 /bin/bash
```> Container name is `docker-lamp-php72_php_1`. Change it to your container name.
Stop
----```
docker-compose down
```> To stop all containers AND kill all volumes `docker-compose down --volumes`