linuxserver / docker-resilio-sync

GNU General Public License v3.0
145 stars 25 forks source link

How to configure resilio at launch ? #31

Closed vipera7 closed 2 years ago

vipera7 commented 3 years ago

Expected Behavior

Should configure settings of resilio at lauch such as login, password, device name,...

Current Behavior

Cant' configure at the moment

For example we should be able to lauch as

docker run -d \
  --name=resilio-sync \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Europe/London \
  -e UMASK_SET=022 `#optional` \
  -e LOGIN=resilio `#optional` \
  -e PASSWORD=resilio `#optional` \
  -e DEVICE_NAME=MyServer `#optional` \
  -p 8888:8888 \
  -p 55555:55555 \
  -v /path/to/config:/config \
  -v /path/to/downloads:/downloads \
  -v /path/to/data:/sync \
  --restart unless-stopped \
  ghcr.io/linuxserver/resilio-sync

EDIT:

I'm able to configure the username and password with :

sed -i "/\"allow_empty_password\" : false,/a \"password\" : \"${password}\"," /home/${login}/resilio/config/sync.conf
sed -i "/\"allow_empty_password\" : false,/a \"login\" : \"${login}\"," /home/${login}/resilio/config/sync.conf

and restart the container. How do I select the product (Sync for home / Sync Business), choose a name to receive/send data, and agrre to terms using CLI ?

github-actions[bot] commented 3 years ago

Thanks for opening your first issue here! Be sure to follow the issue template!

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.