This repository has been archived on 2025-12-24. You can view files and clone it, but cannot push or open issues or pull requests.
site-template/systems
2025-03-07 14:59:06 +01:00
..
.kbot init from site 2025-03-07 14:59:06 +01:00
config init from site 2025-03-07 14:59:06 +01:00
etc init from site 2025-03-07 14:59:06 +01:00
ssl init from site 2025-03-07 14:59:06 +01:00
var/log init from site 2025-03-07 14:59:06 +01:00
.gitignore init from site 2025-03-07 14:59:06 +01:00
build.bat init from site 2025-03-07 14:59:06 +01:00
build.sh init from site 2025-03-07 14:59:06 +01:00
clean.sh init from site 2025-03-07 14:59:06 +01:00
docker-compose.yml init from site 2025-03-07 14:59:06 +01:00
docker.sh init from site 2025-03-07 14:59:06 +01:00
Dockerfile init from site 2025-03-07 14:59:06 +01:00
login.bat init from site 2025-03-07 14:59:06 +01:00
login.sh init from site 2025-03-07 14:59:06 +01:00
publish.sh init from site 2025-03-07 14:59:06 +01:00
README.md init from site 2025-03-07 14:59:06 +01:00
run.bat init from site 2025-03-07 14:59:06 +01:00
run.sh init from site 2025-03-07 14:59:06 +01:00
stop.bat init from site 2025-03-07 14:59:06 +01:00
stop.sh init from site 2025-03-07 14:59:06 +01:00
todos.md init from site 2025-03-07 14:59:06 +01:00
todos.sh init from site 2025-03-07 14:59:06 +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