mirror of
https://github.com/standardnotes/server
synced 2026-07-14 09:01:33 -04:00
* feat(syncing-server): refactor container config into server and worker * fix(syncing-server): yarn lock * fix(api-gateway): add client update response on v1 revision endpoints * fix(syncing-server): linter issue
34 lines
698 B
Bash
Executable File
34 lines
698 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
COMMAND=$1 && shift 1
|
|
|
|
case "$COMMAND" in
|
|
'start-local')
|
|
echo "[Docker] Starting Web in Local Mode..."
|
|
yarn workspace @standardnotes/syncing-server start:local
|
|
;;
|
|
|
|
'start-web' )
|
|
echo "[Docker] Starting Web..."
|
|
yarn workspace @standardnotes/syncing-server start
|
|
;;
|
|
|
|
'start-worker' )
|
|
echo "[Docker] Starting Worker..."
|
|
yarn workspace @standardnotes/syncing-server worker
|
|
;;
|
|
|
|
'content-size-recalculate' )
|
|
echo "[Docker] Starting Content Size Recalculation..."
|
|
USER_UUID=$1 && shift 1
|
|
yarn workspace @standardnotes/syncing-server content-size $USER_UUID
|
|
;;
|
|
|
|
* )
|
|
echo "[Docker] Unknown command"
|
|
;;
|
|
esac
|
|
|
|
exec "$@"
|