1. How to ...
  2. Run through Docker

Docker images for the ASoulDocs server are available both on Docker Hub and GitHub Container Registry.

The latest tag represents the latest build from the main branch.

Caveats

The HTTP_ADDR should be changed to listen on the Docker network or all network addresses:

HTTP_ADDR = 0.0.0.0

Start the container

You need to volume the custom directory into the Docker container for it being able to start (/app/asouldocs/custom is the path inside the container):

$ docker run \
    --name=asouldocs \
    -p 15555:5555 \
    -v $(pwd)/custom:/app/asouldocs/custom \
    unknwon/asouldocs

You should also volumn the docs directory into the Docker container directly if you are not using a remote Git address (/app/asouldocs/docs is the path inside the container):

$ docker run \
    --name=asouldocs \
    -p 15555:5555 \
    -v $(pwd)/custom:/app/asouldocs/custom \
    -v $(pwd)/docs:/app/asouldocs/docs \
    unknwon/asouldocs