Skip to content

g7ufo/cloudlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloudlog Docker Image

This resurrects the now defunct offical Cloudlog Docker image and combines it with my modification to allow configuration to be defined at runtime (either via docker-compose.yml or docker run) and make the container in which this runs disposable.

The images will be tagged with the Cloudlog version and available from: GitHub.

Donations

Please consider either paying for magicbug to host your cloudlog or donating here.

Usage

The following environment variables need to set as they will be used to update the configuration files.

  • LOCATOR
  • BASE_URL
  • DATABASE_HOSTNAME
  • DATABASE_NAME
  • DATABASE_USERNAME
  • DATABASE_PASSWORD

These environment variables are optional:

  • CALLBOOK (should be qrz or hamqth)
  • CALLBOOK_USERNAME
  • CALLBOOK_PASSWORD
  • DEVELOPER_MODE
  • DATABASE_IS_MARIADB

Example: docker run

docker run \
  -e BASE_URL="http://log.m9abc.com/" \
  -e CALLBOOK="hamqth" \
  -e CALLBOOK_PASSWORD="supersecret" \
  -e CALLBOOK_USERNAME="m9abc" \
  -e DATABASE_HOSTNAME="localhost" \
  -e DATABASE_IS_MARIADB="yes" \
  -e DATABASE_NAME="m9abc_log" \
  -e DATABASE_PASSWORD="supersecret" \
  -e DATABASE_USERNAME="m9abc" \
  -e DEVELOPER_MODE="no" \
  -e LOCATOR="IO94XX" \
  ...
  -name=cloudlog \
  ghcr.io/neilbartley/cloudlog:latest

Example: docker compose

  cloudlog:
    container_name: cloudlog
    image: ghcr.io/neilbartley/cloudlog:latest
    restart: unless-stopped
    environment:
      BASE_URL: "https://log.m9abc.uk/"
      CALLBOOK: "hamqth"
      CALLBOOK_PASSWORD: "supersecret"
      CALLBOOK_USERNAME: "m9abc"
      DATABASE_HOSTNAME: "mariadb"
      DATABASE_IS_MARIADB: "yes"
      DATABASE_NAME: "m9abc_log"
      DATABASE_PASSWORD: "supersecret"
      DATABASE_USERNAME: "m9abc"
      DEVELOPER_MODE: "no"
      LOCATOR: "IO94ER"
    ...

73, G7UFO

About

Repository to build docker image for magicbug/Cloudlog

Resources

License

Stars

Watchers

Forks

Releases

No releases published