#!/bin/sh set -e if [ "$(id -u)" -eq 0 ]; then [ -n "${PUID}" ] && usermod -u "${PUID}" nobody [ -n "${PGID}" ] && groupmod -g "${PGID}" nobody fi printf "Configuring application...\n" cat > /Caddyfile <