Changing directory Archive

how do you change DCM4CHEE archive directory to an external networks driver

1 Like

You would do this by mounting the network drive your linux host with a regular linux command.

Then in the docker compose for dcm4chee point it to that folder.

To change the archive directory for DCM4CHEE running in Docker, you should:
Mount your desired archive directory from the host into the container.

On your Linux host, mount the network drive or storage location that you want to use as your archive directory (e.g., with mount or via /etc/fstab).

Update the Docker configuration (e.g., docker-compose.yml) for DCM4CHEE
In the docker-compose file, point the DCM4CHEE archive folder path inside the container to the mounted directory on the host.

:wrench: Example (Conceptual)
In practice, the setup would look something like this:

  1. Mount the drive on the Linux host

sudo mount -t nfs nfs-server:/share/archive /mnt/archive
(This is just an example — your mount type and commands will vary depending on your storage.)

  1. Update Docker Compose
    In your docker-compose.yml:

Yaml
services:
dcm4chee:
volumes:
- /mnt/archive:/storage
This tells Docker to use the host directory /mnt/archive as the archive storage inside the container.