How to set 2 iCloudPD containers with different Telegram prefixes? [unRAID] #926
|
Hi all, I’m running 2 iCloudPD Docker containers in unRAID and want each to respond to different Telegram commands (like separate prefixes). I read the docs and saw user triggers Telegram sync, but there’s no telegram_prefix option. Right now both of them are using the "nobody" user and I would like to change that. 2026-02-27 13:14:04 INFO Monitoring Telegram for remote commands prefix: nobody Has anyone set up multiple containers with Telegram so each listens to its own prefix? Any short/simple solution? Thanks! |
Answered by
boredazfcuk
Feb 27, 2026
Replies: 1 comment 3 replies
|
Just set the "user" variable to be different for each account in the icloudpd.conf file. I control six different accounts via a single Telegram chat group e.g. boredazfcuk auth, wifey auth, iPad auth, kidA auth etc... |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The container creates the user specified in icloudpd.conf when it launches (it writes a minimal /etc/passwd) and then sets permissions for that account on the download directory (plus others).
Personally, I match the users/ids inside the containers to the users/ids on the host so that people logging into the host don't get permission problems.
So
user=boredazfcuk
user_id=1000
group=boredazfcuk
group_id=1000
download_path=/home/boredazfcuk/iCloud
As all match the host, people logging onto the server just see their photos in their home directory's iCloud directory and can access them without issue.
If you are wanting to set the nobody account so that permissions are super restrictive, you j…