Im looking to delay load syncthing docker on my system. I have found I can modify the entrypoint with a sleep, however after adding the sleep the container loading fails…
Any idea how to get this to work with a sleep command?
this works normal:
entrypoint: "./bin/entrypoint.sh /bin/syncthing"
this fails:
entrypoint: "sleep 1 && ./bin/entrypoint.sh /bin/syncthing"
docker compose:
version: '3.7'
services:
syncthing:
image: syncthing/syncthing
container_name: syncthing
environment:
- PUID=1000
- PGID=1000
#- STGUIADDRESS=127.0.0.1
# STHOMEDIR=/home
restart: unless-stopped
network_mode: host
entrypoint: "sleep 1 && ./bin/entrypoint.sh /bin/syncthing"
volumes:
- ${HOME}/Docker/syncthing/config:/var/syncthing/config
- /etc/localtime:/etc/localtime:ro