Open tdruiva opened 3 weeks ago
Suggested Solution:
Modify the Dockerfile to copy the script inside of /custom-cont-init.d/
instead of /etc/cont-init.d/
.
- COPY cont-init.d/ /etc/cont-init.d/
+ COPY cont-init.d/ /custom-cont-init.d/
Refer to the LinuxServer documentation for more details.
From Maige. How's my driving?
Engineer dispatched. See details on the Maige dashboard. | Name | Status | Message | Updated (UTC) |
---|---|---|---|---|
Fix Syncthing ID replacement issue | 🟡 Pending (inspect) | Jul 12, 2024, 12:23 PM |
Describe the bug When you start a new device, Syncthing container should run a script to replace some variables like #ID_PRINCIPAL by SYNC_ID_PRINCIPAL env value but it is not happening.
To Reproduce Steps to reproduce the behavior:
Expected behavior Is expected when you initialize Sync container, its config file should has folders' IDs from where it should sync
Device Type: Raspberry Pi 4
Possible Solution Modify Dockerfile, to copy script inside of
/custom-cont-init.d/
instead of/etc/cont-init.d/
Check LinuxServer documentation