mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
add default values for optional docker env (#1500)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
# Set default values for environment variables if not already set
|
||||
export LEGACY_AUTHENTICATION=${LEGACY_AUTHENTICATION:-false}
|
||||
export ANALYTICS_DISABLED=${ANALYTICS_DISABLED:-false}
|
||||
|
||||
# Execute the original nginx command
|
||||
exec "$@"
|
||||
Reference in New Issue
Block a user