https://github.com/kodaloid/docker-amp-template
A really simple template for setting up AMP (Apache, MariaDB and PHP + phpMyAdmin) using docker.
https://github.com/kodaloid/docker-amp-template
docker php sql template web
Last synced: 5 months ago
JSON representation
A really simple template for setting up AMP (Apache, MariaDB and PHP + phpMyAdmin) using docker.
- Host: GitHub
- URL: https://github.com/kodaloid/docker-amp-template
- Owner: kodaloid
- License: mit
- Created: 2025-06-08T16:32:02.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-22T13:19:26.000Z (about 1 year ago)
- Last Synced: 2025-06-22T14:28:47.604Z (about 1 year ago)
- Topics: docker, php, sql, template, web
- Language: HTML
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-amp-template
This is a really simple starter template for setting up AMP (Apache, MariaDB and PHP + phpMyAdmin) using Docker.
I usually use XAMPP for this sort of thing, but updates stopped in 2023, and I needed a more modern solution.
Docker can be complicated to understand, and for simple projects there is nothing worse than complicated. So this template is as simple as it gets.
## How To Use
1. Make sure Docker is installed, and running!
2. Clone this repo into a folder somewhere on your computer.
3. Open the `docker-compose.yml` file, and change the name.
4. On the first time, launch a terminal in the folder you created, and type `docker-compose pull`.
5. In the terminal, and type `docker-compose up` to startup the project.
6. Visit `http://localhost` and you should see "Hello World!"
7. Visit `http://localhost:8080` to access phpMyAdmin.
## Some Notes
- The `www` folder contains your web files.
- Change things in the `docker-compose.yml` file to suit your needs.
- By default this has PHP 8.2, but you can change that easily.
- The database has a weak password, you may want to change it to stop getting warnings in phpMyAdmin.
## Final Thoughts
Would you make any improvements? To me this fits my use case, but I can imagine an alternative version that also includes Redis, Litespeed etc...
Thanks for checking this out!
Koda