ExerciseDiary

module
v0.0.0-...-172a166 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2024 License: MIT

README

Main-Docker Go Report Card Maintainability Docker Image Size (latest semver)

Exercise Diary

Workout diary with GitHub-style year visualization

Screenshot

Quick start

docker run --name exdiary \
-e "TZ=Asia/Novosibirsk" \
-v ~/.dockerdata/ExerciseDiary:/data/ExerciseDiary \
-p 8851:8851 \
aceberg/exercisediary

Or use docker-compose.yml

Config

Configuration can be done through config file or environment variables

Variable Description Default
HOST Listen address 0.0.0.0
PORT Port for web GUI 8851
THEME Any theme name from https://bootswatch.com in lowcase or additional (emerald, grass, sand) grass
COLOR Background color: light or dark light
HEATCOLOR HeatMap color #03a70c
TZ Set your timezone for correct time ""

Options

Key Description Default
-d Path to config dir /data/ExerciseDiary
-n Path to local JS and Themes (node-bootstrap) ""

Local network only

By default, this app pulls themes, icons and fonts from the internet. But, in some cases, it may be useful to have an independent from global network setup. I created a separate image with all necessary modules and fonts.

docker run --name node-bootstrap       \
    -v ~/.dockerdata/icons:/app/icons  \ # For local images
    -p 8850:8850                       \
    aceberg/node-bootstrap
docker run --name exdiary \
    -v ~/.dockerdata/ExerciseDiary:/data/ExerciseDiary \
    -p 8851:8851 \
    aceberg/exercisediary -n "http://$YOUR_IP:8850"

Or use docker-compose

Roadmap

Moved to docs/ROADMAP.md

Thanks

Directories

Path Synopsis
cmd
internal
db
web

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL