bugfix: Install caddy config after making supervisord dir

This commit is contained in:
jamesread 2024-09-22 14:41:49 +01:00
parent 032835a114
commit 367e82bee2
1 changed files with 5 additions and 0 deletions

View File

@ -27,6 +27,11 @@ npm run prisma-db-push
mkdir -p /etc/supervisor.d/
if [[ "$INTERNAL_PROXY_ENABLED" != "false" ]]; then
echo "Entrypoint: Starting internal proxy"
cp -vf /app/supervisord_available_configs/caddy.conf /etc/supervisor.d/
fi
if [[ "$POSTIZ_APPS" == *"frontend"* ]]; then
ln -sf /app/supervisord_available_configs/frontend.conf /etc/supervisor.d/
fi