A sample Docker Compose file for LibreSpeed.
-
Clone the repository:
git clone https://github.com/mwdle/LibreSpeedConfig.git
-
Create a folder on your system for Docker bind mounts / storing container files. The folder should have the following structure:
docker_volumes/ ├── Speedtest/ │ └── config/
-
Change the
.env
file properties for your configuration:DOCKER_VOLUMES=<PATH_TO_DOCKER_VOLUMES_FOLDER> # The folder created in the previous step.
-
Open a terminal in the directory containing the docker-compose file.
-
Create a docker network for the container:
docker network create Speedtest
-
Start the container:
docker compose up -d
Your container should be up and running and your LibreSpeed instance be accessible on port 80 and 443 in the container. Attach your reverse proxy container to the previously created Docker Networks and configure it accordingly.
This project is licensed under the GNU General Public License v3.0 (GPL-3.0). See the LICENSE file for details.
This repository is provided as-is and is intended for informational and reference purposes only. The author assumes no responsibility for any errors or omissions in the content or for any consequences that may arise from the use of the information provided. Always exercise caution and seek professional advice if necessary.