mirror of
https://github.com/standardnotes/server
synced 2026-07-14 00:01:54 -04:00
* feat: add storing item saving and modifying metrics * fix: missing region in cloudwatch client * fix: metric store binding
25 lines
332 B
Bash
Executable File
25 lines
332 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
COMMAND=$1 && shift 1
|
|
|
|
case "$COMMAND" in
|
|
'start-web' )
|
|
exec node docker/entrypoint-server.js
|
|
;;
|
|
|
|
'start-worker' )
|
|
exec node docker/entrypoint-worker.js
|
|
;;
|
|
|
|
'statistics' )
|
|
exec node docker/entrypoint-statistics.js
|
|
;;
|
|
|
|
* )
|
|
echo "[Docker] Unknown command"
|
|
;;
|
|
esac
|
|
|
|
exec "$@"
|