https://github.com/osx-rsplug-a/stack_php_mysql_phpmyadmin_portainer_docker-composer
Docker-composer script stack Php development
https://github.com/osx-rsplug-a/stack_php_mysql_phpmyadmin_portainer_docker-composer
docker docker-compose
Last synced: 2 months ago
JSON representation
Docker-composer script stack Php development
- Host: GitHub
- URL: https://github.com/osx-rsplug-a/stack_php_mysql_phpmyadmin_portainer_docker-composer
- Owner: OSX-RSPlug-a
- Created: 2019-09-15T00:49:20.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-15T01:10:46.000Z (almost 7 years ago)
- Last Synced: 2025-06-13T07:42:49.695Z (about 1 year ago)
- Topics: docker, docker-compose
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Stack_PHP_Mysql_PHPMyadmin_Portainer_Docker-composer
Docker-composer script stack Php development
To init this project:
1 - Create a tree folder:
- proj_folder
- dump
- session
- www
2 - Create a file with name Dockerfile with no extension. It's where your php server will receive the instructions to add versions or install adds;
3 - Run command:
docker-compose -f THENAME.yaml up -d
So there are 4 containers on ports:
- localhost:9000 (Composer to administrate your containers on browser);
- 0.0.0.0:8001 (PHP server and the files to work on the folder www);
- 0.0.0.0:8000 (PHPMyadmin to administrate your Mysql server);
- 0.0.0.0:3306 (Mysql server);