-
-
Notifications
You must be signed in to change notification settings - Fork 190
Executing the full standalone Cloudlog stack
Luca edited this page Jul 4, 2023
·
13 revisions
This Docker Compose script makes sure all the services are ready to run the Cloudlog installation. Persistency is enabled by default on both MySQL and Cloudlog
- Connect to the machine where you want to deploy Cloudlog
- Create a new
docker-compose.yml
- Paste the following code
version: '3'
services:
cloudlog-mysql:
image: mysql:latest
container_name: cloudlog-mysql
environment:
MYSQL_ROOT_PASSWORD: password-segreta # <- Use a strong password here
#ports:
#- "3306:3306" # <- Uncomment these lines only if you need to expose the MySQL container to the network
volumes:
- cloudlog-dbdata:/var/lib/mysql
restart: unless-stopped
phpmyadmin:
image: phpmyadmin:latest
container_name: cloudlog-phpmyadmin
depends_on:
- cloudlog-mysql
environment:
PMA_HOST: cloudlog-mysql
PMA_PORT: 3306
PMA_ARBITRARY: 1
PMA_USER: root
PMA_PASSWORD: password-segreta # <- Put same strong password here
restart: unless-stopped
ports:
- "8083:80"
cloudlog:
image: 2m0sql/cloudlog:latest
container_name: cloudlog-main
depends_on:
- cloudlog-mysql
volumes:
- cloudlog-config:/var/www/html/application/config
- cloudlog-backup:/var/www/html/application/backup
- cloudlog-uploads:/var/www/html/application/uploads
ports:
- "8086:80"
restart: unless-stopped
volumes:
cloudlog-dbdata:
cloudlog-config:
cloudlog-backup:
cloudlog-uploads:
- Make sure to provide a strong password on the MySQL environment variables
- PhpMyAdmin should be stopped after the first setup and executed only for debugging purposes
- MySQL is only accessible from the Docker environment, if you want to expose it please uncomment the
ports:
lines
- Execute
docker compose up -d
You should see the terminal downloading some stuff and then returning to the normal blinking cursor, if no errors are shown you are good to go!
- Access PhpMyAdmin at
http://ipaddress:8083
- Click on
Users accounts
on the top bar - Click on
Add a new user
- Enter a valid username and password (twice). Make sure to remember these parameters, we will need them later!
- Make sure to tick
Create a database with same name and grand all privileges.
- Click
Execute
to proceed
- Access Cloudlog at
http://ipaddress:8086/install
- Set:
- Directory: leave blank
- Website: should be set already
- Default gridsquare: your QTH locator
- DB Hostname:
cloudlog-mysql
- DB User: the username you created in step 3
- DB Pass: the password you configured in step 3
- DB Name: same as username
- Click on
Install
- Installation on Linux server
- Installation on Windows server
- Updating Cloudlog
- Hints & Tips
- cloudlog.php Config
- API
- Station Locations
- Radio Interface
- ADIF Import / Export
- Logbook of The World
- eQSL
- Print Requested QSLs
- Clublog Upload
- QRZ Logbook
- KML Export