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.
- Host: GitHub
- URL: https://github.com/jesparzarom/simple-damp
- Owner: Jesparzarom
- License: mit
- Created: 2025-02-23T12:17:40.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-23T12:35:13.000Z (about 1 year ago)
- Last Synced: 2025-02-23T13:33:18.714Z (about 1 year ago)
- Topics: apache, docker, docker-image, lamp, lamp-stack, laragon, mysql, php7, php8, wamp, xampp
- Language: Batchfile
- Homepage: https://hub.docker.com/r/juanprogramm/simple-damp
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)
---