mirror of
https://github.com/Walter-Sparrow/lunar-tear.git
synced 2026-07-02 05:43:41 +03:00
Add authentication server, dev CLI, Docker multi-service setup, and cross-platform improvements
This commit is contained in:
+10
-1
@@ -4,4 +4,13 @@ set -e
|
||||
mkdir -p db
|
||||
goose -dir migrations sqlite3 db/game.db up
|
||||
|
||||
exec ./lunar-tear --host "${LUNAR_HOST}" --http-port "${LUNAR_HTTP_PORT}" --grpc-port "${LUNAR_GRPC_PORT:-443}"
|
||||
AUTH_FLAG=""
|
||||
if [ -n "${LUNAR_AUTH_URL}" ]; then
|
||||
AUTH_FLAG="--auth-url ${LUNAR_AUTH_URL}"
|
||||
fi
|
||||
|
||||
exec ./lunar-tear \
|
||||
--listen "${LUNAR_LISTEN:-0.0.0.0:443}" \
|
||||
--public-addr "${LUNAR_PUBLIC_ADDR}" \
|
||||
--octo-url "${LUNAR_OCTO_URL}" \
|
||||
${AUTH_FLAG}
|
||||
|
||||
Reference in New Issue
Block a user