Hi all,
this is probably basic to most of you guys. but Im newb trying to learn how to setup orthanc via docker on a synology NAS.
I ve had basic experience setting up docker on a windows 10 PC.
and
ive manage to install docker and orthanc for docker on the NAs.
I would want to access the “orthanc.json” file but its no where to be found.
The command you copied is just a way to retrieve the default configuration file of Orthanc, and write it to “/tmp/orthanc.json”. This is a command to be run from a command-line terminal.
Unfortunately I might need a little bit more basic guide.
I have configured an orthanc.json before in windows by using notepad+ by using windows explorer to enter find the configuration file for orthanc.
But in NAS, this directory appears no where to be found? Am i not able access it directly from the NAS?
I don’t have a NAS at hand so just speaking out of my head:
It’s actually up to you to provide this orthanc.json file. You should start with a very simple one with only a few options:{
“RemoteAccessAllowed”: true,
“AuthenticationEnabled” : true,
“RegisteredUsers” : {
“orthanc”: “orthanc”
}
}
Save this file on your NAS, let’s say in /data/orthanc/orthanc.json
Then, you can start Orthanc with something like:
docker run -p 4242:4242 -p 8042:8042 --rm -v /data/orthanc/orthanc.json:/etc/orthanc/orthanc.json:ro jodogne/orthanc
But, before going any further, I strongly advise you to have a good understanding of Docker and data persistence (volumes) in Docker. With the above commands, your data won’t persist on your NAS, you’ll have to map /var/lib/orthanc/db/ to one of your NAS folder with the -v option.
thanks for the responses.
some how manage to use commander and access root and force the conf file out… but im now having an issue with ip. docker seems to be trying to send files out using a 172.17.0.1 ip? which i believe is a docker internal ip. there fore when retrieving, instead of sending it to 192.168.1.2, it tries to send to 172.17.0.1? anyway to go around this?
Sorry but I’m afraid there’s not enough information for us to understand your issue (which seems BTW, very Docker related and not really Orthanc related).
I am trying to prepare a quide for setting up orthanc, postgre, pdadmin and orthanc tools on a synology nas through docker the last two months but i am on 80%
For me is just a hobby as my actual job is orthopaedic surgeon.
This setup is working very well for me
and modify it
Create a permanent folder on synology and place the configuration or configuration file, in my example /docker/orthanc
This part is the where u set up mount point for configuration
In orthanc book you can find several ways setting up the orthanc docker container but i found that this the most easy in the synology nas
Im actually a radiologist in a public hospital. Due to budget constraints, we are left with “scraps” to form a temporary PACS.
Sadly, any IT assistance will cost us now.
These may sound basic but… May i know where do i copy and paste these text?
I thought this would be a good thread to share how my team deploys Orthanc securely (with NGINX) using docker compose.
Of course you don’t need compose to deploy it, but it gives a good reference for passing in the right values for deploying with docker.
If you are unfamiliar with docker compose, the manifest below is essentially a playbook for executing docker run with pre-defined arguments.
I’d look to the command line refernece to translate the compose variables to the docker run command, or just become familiar with compose, it’s really friendly.