I managed to start 2 containers with PostgreSQL and Orthanc. And a number of new questions arose to which I cannot find answers in the documentation. I am running containers with the following parameters:
Orthanc
docker run -e TZ = Europe / Kiev --name "orthanc" -p 4242: 4242 -p 80:80 --rm -v / tmp / orthanc-files /: / var / lib / orthanc / db / -v / tmp / orthanc-files / orthanc.json: /etc/orthanc/orthanc.json: ro jodogne / orthanc-plugins: 1.9.4
PostgreSQL
docker run -e TZ = Europe / Kiev --name postgres -e POSTGRES_USER = postgres -e POSTGRES_PASSWORD = DicomDicom --rm -v / tmp / orthanc-db /: / var / lib / postgresql / data postgres
How can I set up the autostart of containers correctly? And as I understand it, PostgreSQL should be started first. Will the IP address of the PostgreSQL container change after host reboot?
The second question has to do with configuring Orthanc plugins. I want to disable unnecessary ones. How to do it?
I also ask you to tell me how can I now correctly take pictures from the problematic Orthanc server to new server based on Docker?