How can I update PCCIS timeouts, or other config files, in a PrizmDoc Server Docker container?

Modified on Sat, Jun 29, 2024 at 1:41 PM

Our instructions for running the PrizmDoc Server Docker container include how to mount the Central Configuration file, but there is no instruction on how to modify config files which aren't located in the root of the container.


Docker allows the user to mount a file from the host system into any part of the container in the same way Central Config is mounted, but there are some extra steps involved to first retrieve the file to be modified. This article will use pcc.config as an example, but these steps will work for any config file that may need to be modified.

The Docker init-config command only creates the prizm-services-config.yml file on the host machine so the first step is to pull down a copy of the file to be modified from a running container. If the container isn't currently running, please follow the instructions on this page.

Copy config file to host

  1. Open an elevated terminal

  2. Run the command below:

docker cp <container name or id>:/usr/share/prizm/pccis/ServiceHost/pcc.config  ./pcc.config
  1. Stop and remove (docker -rm) the container

Update config values

Bind mount the updated file in a new container

  1. Add the partial command below to your docker run command for PrizmDoc Server
-v ${PWD}/pcc.config:/usr/share/prizm/pccis/ServiceHost/pcc.config
  1. Start the container
docker run --rm --env ACCEPT_EULA=YES --publish 18681:18681 --volume $(pwd)/config:/config --volume $(pwd)/logs:/logs --volume $(pwd)/data:/data -v $(PWD)/pcc.config:/usr/share/prizm/pccis/ServiceHost/pcc.config--name prizmdoc-server accusoft/prizmdoc-server

Exec into the container to confirm the updates

docker exec -it prizmdoc-server bash
$cd /usr/share/prizm/pccis/ServiceHost/
$cat pcc.config

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article