Add authentication server, dev CLI, Docker multi-service setup, and cross-platform improvements

This commit is contained in:
Ilya Groshev
2026-04-21 16:49:44 +03:00
parent 43d6527b42
commit a3fbb1aeba
121 changed files with 4523 additions and 2888 deletions
+10 -1
View File
@@ -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}