WORKDIR /www
COPY lighttpd.conf /lighttpd.conf
+COPY ipv6.sh /etc/lighttpd/ipv6.sh
COPY entrypoint.sh /entrypoint.sh
COPY --from=build-stage --chown=${UID}:${GID} /app/dist /www/
COPY --from=build-stage --chown=${UID}:${GID} /app/dist/assets /www/default-assets
* **`PORT`** (default: `8080`)
If you would like to change internal port of Homer from default `8080` to your port choice.
+* **`IPV6_DISABLE`** (default: null)
+Set to a non-empty value to disable listening on IPv6.
#### With docker-compose
--- /dev/null
+#!/bin/sh
+
+# Enable IPV6 if needed
+if test -z "$IPV6_DISABLE"; then
+ echo '$SERVER["socket"] == "[::]:" + env.PORT { }'
+fi
include "/etc/lighttpd/mime-types.conf"
+include_shell "/etc/lighttpd/ipv6.sh"
server.port = env.PORT
-$SERVER["socket"] == "[::]:" + env.PORT { }
server.modules = ( "mod_alias" )
server.username = "lighttpd"
server.groupname = "lighttpd"