Skip to content

Use a prebuilt image from Docker Hub

Luca edited this page Dec 8, 2023 · 4 revisions

Please read carefully

⚠️ Warning: It is your responsibility to ensure you protect your system from intruders/attacks. These commands and permissions are just examples used to get Cloudlog up and running and are not a guide on how to achieve a secure system. You should review these permissions after installation and make appropriate changes if you determine that finer-grained access control is needed.

⚠️ Warning: Docker support is highly experimental, you may run into different issues when updating your existing setup, manual intervention may be needed to align tables and/or config files to the new version.

Instructions

Docker images are now built automatically at every release, you can find them on Docker HUB. These are preconfigured images based on PHP7.4 and they include the latest stable release of Cloudlog

Prerequirements

  • An available MySQL instance reachable from local network
    • An example setup can be found here

Docker setup

Create persistent volumes

Some data needs to be retained locally (such as QSL cards, etc), so we will create four volumes to store such data

docker volume create cloudlog-config
docker volume create cloudlog-backup
docker volume create cloudlog-uploads

Execute Cloudlog

Now that the volumes are created we can run the final image

docker run -v cloudlog-config:/var/www/html/application/config -v cloudlog-backup:/var/www/html/application/backup -v cloudlog-uploads:/var/www/html/application/uploads --name cloudlog -p 8086:80 2m0sql/cloudlog

This will expose the port 8086 on the local machine to access and configure the Cloudlog instance!

Final configuration

You can now access the WebPage to configure Cloudlog at https://ipaddress:8086 and proceed with the normal setup

Clone this wiki locally