Skip to content

r14r/DockerApp-ApacheWebServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DockerApp-ApacheWebServer

Apache Web Server with MySQL database and phpMyAdmin, built with Docker.

Features

  • Apache 2.4 with PHP 8.3
  • MySQL 8.0 database
  • phpMyAdmin for database administration
  • Bootstrap-based Admin Panel for server management
  • .htaccess editor for configuration management

Quick Start

  1. Build and start the containers:
docker compose up -d
  1. Access the services:

Admin Panel

The admin panel provides:

  • System information dashboard
  • Database connection status
  • Live .htaccess file editor
  • Quick links to phpMyAdmin and other resources
  • Bootstrap 5 responsive UI

Default credentials: Password is admin123 (can be changed via ADMIN_PASSWORD environment variable)

phpMyAdmin Access

Database Configuration

The application connects to MySQL with these default settings:

  • Host: db
  • Database: appdb
  • User: appuser
  • Password: apppass

Security Note

⚠️ The admin panel uses basic authentication for demonstration purposes. For production use:

  • Implement proper authentication with database-backed users
  • Use HTTPS
  • Add IP whitelisting
  • Implement CSRF protection
  • Change default passwords

About

Run a Apache WebServer in a Docker Environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages