Frontend einrichten (WEB)
- "Provide the Dockerfiles for the WEB tier."
- "Do not expose any unnecessary ports to the host."
- "Use variables in your Docker-Compose files."
- "For this tier the official node 8.16.1 Docker image from the Docker Hub should be taken as base image."
- "The nodejs web application should be accessible from Træfik via port 7777. This port should not be exposed to the host system!"
-
"The web application uses two environment variables:"
- API_HOST: Hostname and port of the api container (syntax:container_hostname:port)
- PORT: Port on which the web server should be listening.
- "Ensure no processes inside the web and API Docker image run as user root – use a service user called cldinf instead."
Code für die WEB ist unter /Vorgabe/code.zip