Open qwertzui847 opened 3 years ago
Your missing the configuration file. You need to mount a config file as shown in the docker command line example
--volume=config.toml:/etc/neolink.toml
There's an example config file in this repo.
I believe this is a GUI based docker right? I think you have the click edit on the docker on go to the volume tab to add the mount. But as I've never used this so you'll have to figure it out.
neolink on Synology Docker
I have a solution. Now I will give you an instruction how to get it running on Synology Docker.
create your config.toml file. mine looked like this
Enable ssh in your DSM settings.
Connect with ssh. I used putty.
login as admin
Type in "sudo -i" to get root.
Type in "docker pull thirtythreeforty/neolink"
Copy the **"config.toml" file do not name it "neolink.toml"** onto an folder on your volume1.(With your DSM surface area)
8.Then you go back to putty and change the folder to the folder where you saved the "config.toml" file (with cd) like on the picture below
Now move the "config.toml" file in the folder /root/ with: " mv config.toml /root/ " It should loke like this
Then type in
docker run \ -p 8554:8554 \ --restart=on-failure \ --volume=$PWD/config.toml:/etc/neolink.toml \ thirtythreeforty/neolink
It should loke like this
That would work but your kinda just bypassing the Synology GUI. If you ok with that sure go for it. If not then If you Google Synology docker volume mount
there are a few articles. That take you through it how to do it.
I tried it with the Synology GUI but the problem was that it doesn't worked for me. The container rebbooted all the time. and the volume was mounted correctly.
The way i did it was the only way to get it running. And also the container is displayed in Docker.
There I can edit the container as normal with the Docker GUI.
I did this easily within the synology docker interface, the trick is that you need to mount a FILE not a DIRECTORY.
Create a new container from the image. Click the Advanced Settings Button Go to Volume Tab and select Add File I have my config in a share called docker in a folder called neolink, so for me I selected that toml file Set the Mount Path column for the file to be /etc/neolink.toml While you're here (and following the guide on the readme.md) Go to Advanced Settings Tab and set "Enable auto-restart" checkbox Go to Port settings and change the Local Port from "Auto" to "8554".
There you go, now you've done the equivilant of everything in the instructions on the main page. Use the sample_config.toml file in the github to build your config.toml file
I tried to run neolink latest on Synology Docker but i always get the an error message as shown. The container does not even starts. But the config file I think is in the right folder.
I don't know what to do anymore. What does the error message meen?
Could somebody help me? or could someone give me tips to get it running correctly? Or maybe give some instuctions? Regards Gert