Skip to content

azafcal/simple-php-mysql-crud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Simple CRUD Using PHP/MySQL and Docker for Testing

In this project, I dockerized a simple CRUD (Create, Read, Update, Delete) application using PHP, MySQL, and Docker.

Initially, this CRUD was built using XAMPP, but now it only requires Docker to run.

Instructions for use:

Install Docker: Docker Installation Guide

Build the app using: docker compose up --build --abort-on-container-exit --remove-orphans

Access the app in your preferred web browser. Access index.php: http://localhost:9000/

Access phpMyAdmin. phpMyAdmin: http://localhost:9001/

Kompose test:

Install kind: https://kind.sigs.k8s.io/docs/user/quick-start/

Run: kubectl apply -f . && kubectl get po && kubectl port-forward svc/phpenv 9000:9000

Access the app like in docker section

References and acknowledgments:

:)

About

A simple test conteinerized a old test xampp php crud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages