mirror of
https://github.com/nikdoof/pocket-id.git
synced 2025-12-14 07:12:19 +00:00
feat: add audit log with email notification (#26)
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
echo "Starting frontend..."
|
||||
node frontend/build &
|
||||
|
||||
@@ -6,6 +5,12 @@ echo "Starting backend..."
|
||||
cd backend && ./pocket-id-backend &
|
||||
|
||||
echo "Starting Caddy..."
|
||||
caddy start --config /etc/caddy/Caddyfile &
|
||||
|
||||
# Check if TRUST_PROXY is set to true and use the appropriate Caddyfile
|
||||
if [ "$TRUST_PROXY" = "true" ]; then
|
||||
caddy start --config /etc/caddy/Caddyfile.trust-proxy &
|
||||
else
|
||||
caddy start --config /etc/caddy/Caddyfile &
|
||||
fi
|
||||
|
||||
wait
|
||||
Reference in New Issue
Block a user