An open API service indexing awesome lists of open source software.

https://github.com/jesparzarom/simple-damp

Docker container sets up a development environment using Apache, MySQL, and PHP. It is ideal for quickly and easily setting up PHP-based web applications with MySQL database support.
https://github.com/jesparzarom/simple-damp

apache docker docker-image lamp lamp-stack laragon mysql php7 php8 wamp xampp

Last synced: 4 months ago
JSON representation

Docker container sets up a development environment using Apache, MySQL, and PHP. It is ideal for quickly and easily setting up PHP-based web applications with MySQL database support.

Awesome Lists containing this project

README

          

# Simple DAMP Stack (Docker-based Apache, MySQL, PHP)

A ready-to-use Docker development environment featuring Apache, MySQL, and PHP (DAMP stack). [EXPERIMENTAL] DEploy PHP web with MySQL database support.

### Menu
1. [Project Structure](#project-structure)
2. [Technologies Used](#technologies-used)
3. [Setup Instructions](#setup-instructions)
4. [Access Information](#access-information)
5. [Requirements](#requirements)
6. [Docker Documentation](#documentation)

---

## Project Structure
```
simple-damp/
├── conf/
│ └── apache2 # [Optional] Custom Apache or PHP configuration (copy to Docker container as needed)
| └── conf-available
| └── sites-available
| └── scripts
│ └── php
├── scripts/
│ └── dockerfile
│ └── simple-damp # [Optional] Interactive menu script (add to PATH for terminal access via 'simple-damp'). Available only through git clone or download as a ZIP.

├── www/
│ ├── phpproject/ # Your PHP projects should be placed inside this
│ │ └── index.php
├── Dockerfile
├── docker-compose.yml
├── LICENSE
└── README.md
```
## Technologies Used
| Technology | Description |
|---------------------------|--------------------------------------|
| **PHP 8.2 with Apache** | Used for server-side scripting on Debian |
| **MySQL 8** | Database system used for data storage |
| **phpMyAdmin** | Tool for managing MySQL databases |
| **Composer** | Dependency manager for PHP |

---

## Setup Instructions
Open your terminal (CMD, PowerShell, Shell, Bash, etc.) and navigate to the desired directory where you want to host the simple-damp project. Then:

| Step | Command/Action |
|-------------------------------------|--------------------------------------------------------------------------------|
| **Clone the repository or [download Zip](https://github.com/Jesparzarom/simple-damp/archive/refs/heads/main.zip)** | `git clone https://github.com/Jesparzarom/simple-damp.git` |
| **Enter the simple-damp environment** | `cd simple-damp` |
| **Start the container** | `docker-compose up -d` |

## Access Information

| Service | URL |
|-----------------------------|-----------------------------|
| **Web Base Path** | [http://localhost:8080](http://localhost:8080) |
| **phpMyAdmin (MySQL)** | [http://localhost:8081](http://localhost:8081) |

## Requirements
- Docker Engine
- Docker Compose

---

## HitHub Project
[🔗 GitHub Repo](https://github.com/Jesparzarom/simple-damp)

## Documentation
> docker repository

[📖 Read the documentation](https://hub.docker.com/r/juanprogramm/simple-damp)

---