Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleSet proper line encoding in docker entrypoint
# On some systems, the EOL encoding needs to be fixed for the docker-entrypoint.sh file:

sed -i -e 's/\r$//' ui/docker-entrypoint.sh

# In case your are testing the system in Windows, quickly execute a ``docker-compose logs nginx`` and check the output. If there is an error, you need to fix the line encoding of 
# docker-entrypoint.sh.

# Alternative: Open the file ui/docker-entrypoint.sh, change the eol encoding to "LF" (e.g., in Notepad++ by clicking on "Windows CRLF" in the bottom status bar) and re-run the Docker build by 
# executing ``docker-compose rebuild --no-cache nginx``. Start the container with executing ``docker-compose up -d nginx``. 


Code Block
titleBuild Docker images and start
docker-compose up -d

# Use docker-compose up to run it in foreground
# Docker images will be locally built

...