site-library/systems
2025-03-12 18:53:16 +01:00
..
.kbot Initial commit 2025-03-08 21:04:49 +01:00
apache/url-redirector Synced from site 2025-03-12 18:53:16 +01:00
config Initial commit 2025-03-08 21:04:49 +01:00
etc Initial commit 2025-03-08 21:04:49 +01:00
ssl Initial commit 2025-03-08 21:04:49 +01:00
var/log Initial commit 2025-03-08 21:04:49 +01:00
.gitignore Initial commit 2025-03-08 21:04:49 +01:00
build.bat Initial commit 2025-03-08 21:04:49 +01:00
build.sh Initial commit 2025-03-08 21:04:49 +01:00
clean.sh Initial commit 2025-03-08 21:04:49 +01:00
docker-compose.yml Initial commit 2025-03-08 21:04:49 +01:00
docker.sh Initial commit 2025-03-08 21:04:49 +01:00
Dockerfile Initial commit 2025-03-08 21:04:49 +01:00
login.bat Initial commit 2025-03-08 21:04:49 +01:00
login.sh Initial commit 2025-03-08 21:04:49 +01:00
publish.sh Initial commit 2025-03-08 21:04:49 +01:00
README.md Initial commit 2025-03-08 21:04:49 +01:00
run.bat Initial commit 2025-03-08 21:04:49 +01:00
run.sh Initial commit 2025-03-08 21:04:49 +01:00
stop.bat Initial commit 2025-03-08 21:04:49 +01:00
stop.sh Initial commit 2025-03-08 21:04:49 +01:00
todos.md Initial commit 2025-03-08 21:04:49 +01:00
todos.sh Initial commit 2025-03-08 21:04:49 +01:00

Apache Docker Configuration

Overview

This container sets up an Apache web server with the following features:

  • Apache web server with minimal configuration
  • Mounts ../dist for htdocs
  • Mounts ./etc for Apache configurations
  • Mounts ./ssl for Apache certificates (disabled by default)
  • Mounts ./var/log for Apache logs
  • Includes Midnight Commander and OpenSSH server
  • Configured with AllowOverride "All"
  • Configured with Require all granted (Allow from all)
  • Directory indexing, redirect, and proxy enabled

Usage

To start the container:

docker compose up --build

To stop the container:

docker compose down

To rebuild the container:

docker compose build --no-cache

Structure

  • ./config: Contains Apache configuration files copied into the container during build
  • ./etc: Mounted to /etc/apache2/sites-available in the container
  • ./ssl: Mounted to /etc/apache2/ssl in the container
  • ./var/log: Mounted to /var/log/apache2 in the container
  • ../dist: Mounted to /var/www/html in the container