I’ve been looking for this type of container. But because I’m new to RasPi and Linux as a whole (4 weeks deep) I have no idea how to build the docker compose with all the required items. I tried walking through the config and everything. But it never works. CasaOS is constantly telling me it’s unhealthy. So please help a guy out. I just want to upload all my photos to my CasaOS external drive (I guess that’s a NAS?) so i can save money on the ever increasing icloud prices… Please and thanks.
https://hub.docker.com/r/boredazfcuk/icloudpd
## Environment variables
Environment variables can, for the time being, be used to configure the Docker container. However, configuring containers by using variables is deprecated and will be removed in future versions.
When the container is first started, it will write a default configuration file "/config/icloudpd.conf" and the variables will be loaded from there. I you find that some things are still being set, even though you have removed the variables from the container, it could be that they are still located in the configuration file.
## CONFIGURATION OPTIONS
**apple_id**: This is the Apple ID that will be used when downloading files. This option is mandatory
**user**: This is name of the user account that you wish to create within the container. This can be anything you choose, but ideally you would set this to match the name of the user on the host system for which you want to download files for. This user will be set as the owner of all downloaded files. Default: 'user'. This option is also used as the trigger for remotly initiated sync. Simply send your user name as a message to the Telegram chat, icoudpd will see it, and start a manual sync.
**user_id**: This is the User ID number of the above user account. This can be any number that isn't already in use. Ideally, you should set this to be the same ID number as the user's ID on the host system. This will avoid permissions issues if syncing to your host's home directory. Default: '1000'.
**group**: This is name of the group account that you wish to create within the container. This can be anything you choose, but ideally you would set this to match the name of the user's primary group on the host system. This This group will be set as the group for all downloaded files. Default: 'group'.
**group_id**: This is the Group ID number of the above group. This can be any number that isn't already in use. Ideally, you should set this to be the same Group ID number as the user's primary group on the host system. Default: '1000'.
**force_gid**: If this configuration option is set it will allow the group to be created with a pre-existing group id. This may be handy if your group id clashes with a system group insude the docker container, however, if may have undesired permissions issues. Please use with caution.
**TZ**: Sets the local timezone and is required to calculate timestamps. Default: 'UTC'. If you are unsure of your timezone, the list can be found here: https://nodatime.org/TimeZones. The value you need to set is listed in the "Zone ID" column of the table.
**download_path**: This is the directory to which files will be downloaded from iCloud. Default: "/home/${user}/iCloud".
This file has been truncated. show original