Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pobyzaarif/php-mysql-project-docker
php-mysql-project-docker
https://github.com/pobyzaarif/php-mysql-project-docker
container docker mysql php
Last synced: 10 days ago
JSON representation
php-mysql-project-docker
- Host: GitHub
- URL: https://github.com/pobyzaarif/php-mysql-project-docker
- Owner: pobyzaarif
- License: gpl-3.0
- Created: 2023-12-11T15:46:23.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-11T09:38:53.000Z (12 months ago)
- Last Synced: 2024-01-11T14:06:37.545Z (12 months ago)
- Topics: container, docker, mysql, php
- Homepage:
- Size: 47.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# php-mysql-project-docker
![php-mysql-project-docker](design.drawio.png)## About
This is only my research, I just want to set up my server that's a bunch of PHP apps, and I want to isolate each app inside a container and those apps will connect to a single database container. I know some tools like cPanel, Plesk, CloudPanel, Cyberpanel, and other open-source/free-to-use software may have more flexibility/capabilities to handle php apps. but it's ok, I need something just like this :D## Project Structure
```
php-mysql-project-docker #
├── mysql # root folder for database
│ ├── docker-compose.yaml # docker compose for database
│ ├── mysql-data # mount folder for database to make it persistence
│ └── mysql.env.example # mysql config example to set root password, you can copy and replace with new password
└── php # php folder for database
├── Dockerfile # apache2 dockerfile
├── docker-compose-crud-php-simple-example.yaml # docker compose for project crud-php-simple
└── projects # php project folder, so all php's project will put here
└── crud-php-simple # sample project crud-php-simple root folder (clone/pull from here https://github.com/pobyzaarif/crud-php-simple)
```