Cloudlog I won't elaborate further; here's a possible Docker Compose setup method.
Prerequisites
First!
Do not use the official Docker Compose setup method!
Then you need a server that can receive inbound traffic and has Docker installed.
Installation
First, clone the repository using Git. docker-Cloudlog
git clone git@github.com:Maescool/docker-Cloudlog.git
cd docker-Cloudlog
Subsequently, configure the necessary content according to the README of the repository as described above:
- Please
docker.db.sample.env Copy and rename it to docker.db.env
- Please
docker.app.sample.env Copy and rename it to docker.app.env
- Create the corresponding storage directory
Create the directories `storage/{backup,logs,updates,uploads}` if they do not already exist.
- Combine the two
env The environment variables in the file are configured correctly. Note that. db.env The password must be used.Complex password
Additional configuration required based on network setup.
Depending on your network configuration, there are three options available:
- If your server only hosts this one service and you do not intend to use HTTPS, you can skip these two steps.
- If your server has Nginx deployed locally as a reverse proxy, then you need to
docker-compose.yml in ports Some have been modified.
ports:
#80:80
<The mapping port you want to use, such as 8080>:80 # For example, 8080:80
- If you are using acme-companion , which needs to be
docker-compose.yml New configuration options have been added in the middle, and the original ones are now... ports: Partially removed
Apply for and configure an SSL certificate.
Because more than 80% of current HTTP traffic uses HTTPS, modern browsers like Chrome will naturally discriminate against HTTP traffic, making browsing less convenient.
Therefore, you need to apply for a domain name and configure an SSL certificate.
The most popular technology stack currently should be:acme.sh(Automatic issuance/renewal of SSL certificates) + CloudFlare(Website defense + DNS resolution) + Nginx (Reverse proxy + mandatory HTTPS)
If you find this setup too complicated, you can simply use the method described above. acme-companion
I won't elaborate further here.
Once the domain name and SSL configuration are complete, please docker.app.env in WEB_BASE_URL = http://localhost/ Change to the corresponding domain name https Link
Run
Once the configuration is complete, in docker-Cloudlog In the folder directory, execute ./run.sh This allows you to set up the service easily.
Post-execution configuration
Once the service starts running, entering the configured domain name will redirect you to the login interface.
Here, use the default account provided by Cloudlog.
Username: m0abc
Password: demo
Once you have successfully logged in, you can change this username and password to your own! Be sure to remember to change your username and password!
Subsequently, enter Administrator -> Update Country Files Update DXCC entity
Once the update is complete, you can create a Station Logbook and Station Location.
Once created, you can now connect and start using it!