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/README.md
2025-03-07 14:59:06 +01:00

44 lines
1.1 KiB
Markdown

# 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:
```bash
docker compose up --build
```
To stop the container:
```bash
docker compose down
```
To rebuild the container:
```bash
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