mirror of
https://github.com/kou029w/_.git
synced 2025-01-30 22:08:02 +00:00
8 lines
373 B
Bash
Executable file
8 lines
373 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
export PORT=${PORT:-8080}
|
|
REDIS_HOST=`node -p "new URL('${FLY_REDIS_CACHE_URL}').hostname"`
|
|
REDIS_PORT=`node -p "new URL('${FLY_REDIS_CACHE_URL}').port"`
|
|
REDIS_PASSWORD=`node -p "new URL('${FLY_REDIS_CACHE_URL}').password"`
|
|
export REDIS_HOST=${REDIS_HOST:-localhost} REDIS_PORT=${REDIS_PORT:-6379} REDIS_PASSWORD
|
|
/redis-commander/docker/entrypoint.sh "$@"
|