mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 21:45:55 +00:00
10 lines
256 B
Bash
10 lines
256 B
Bash
#!/bin/bash
|
|
|
|
sed -i "s|username|${username}|g" ${exposeConfigPath} && sed -i "s|password|${password}|g" ${exposeConfigPath}
|
|
|
|
if [[ $# -eq 0 ]]; then
|
|
exec /src/expose serve ${domain} --port ${port} --validateAuthTokens
|
|
else
|
|
exec /src/expose "$@"
|
|
fi
|