I’ve never used Docker before, so hopefully this is all setup in the recommended way. Feel free to open a ticket or chat in gitter with recommendations
serverConfig.toml
from the repo at dist-specific-files\docker\serverConfig.toml
Create the following directories (you can name them as you want):
Create the following file:
First, pull the docker image docker pull deranjer/goedms
. Then edit serverConfig.toml
with your correct settings. The most important change will be to change APIURL
in the serverConfig
section. This URL will be the in the following format: http://192.168.1.10:8000
. The IP should be your external IP (not the docker ip addr). The port should be the external port as well.
Next, we need to start the docker container. We are mounting the directories we created earlier into the container, as well as the serverConfig.toml
and goedms.log
file. When goEDMS starts it will read the config in and configure itself, and then output to the log file.
>docker run -d -p 8000:8000 --name goedms \
-v /sourceDir/documents:/opt/goEDMS/documents \
-v /sourceDir/ingress:/opt/goEDMS/ingress \
-v /sourceDir/tmp:/opt/goEDMS/temp \
-v /sourceDir/done:/opt/goEDMS/done \
-v /sourceDir/serverConfig.toml:/opt/goEDMS/serverConfig.toml \
-v /sourceDir/goedms.log:/opt/goEDMS/goedms.log \
-v /sourceDir/databases:/opt/goEDMS/databases \
deranjer/goedms:latest
The docker container should start and continue running unless it encounters an error. You can then access goEDMS from your external IP and port.