docker-jottacloud icon indicating copy to clipboard operation
docker-jottacloud copied to clipboard

added docker compose file

Open John-Richardson opened this issue 2 years ago • 2 comments

[!NOTE] Adds docker-compose.yml defining a jottacloud service with env vars and volume mounts for backups using bluet/jottacloud.

  • Docker Compose:
    • Adds docker-compose.yml with jottacloud service (container_name: jottacloud-cli).
    • Configures environment variables: JOTTA_TOKEN, JOTTA_DEVICE, JOTTA_SCANINTERVAL, LOCALTIME.
    • Mounts volumes for data/config (./:/data/jottad, ./.ignore, ./jottad.env) and backup source (/home/ -> /backup/home).
    • Uses image bluet/jottacloud.

Written by Cursor Bugbot for commit 486de2603e99ff070ee0355263d4650dd8a580bf. This will update automatically on new commits. Configure here.

Summary by CodeRabbit

Release Notes

  • Chores
    • Added Docker Compose configuration for streamlined deployment and development. Includes a pre-configured service with support for environment-based customization, volume mappings for data and backup directories, automated scanning intervals, and timezone settings for quick setup.

John-Richardson avatar May 02 '23 16:05 John-Richardson

Thanks for the PR @John-Richardson

Could you move those settings into .env (and provide a example.env)? Thanks!

bluet avatar May 03 '23 13:05 bluet