mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-02-10 18:05:10 +08:00
* Add Dockerfile for nodejs DS Example * Removed unnecessary lines * Add expose 3000 port to Dockerfile Co-authored-by: Cyger <cyger@centos7.server>
14 lines
255 B
Bash
Executable File
14 lines
255 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
export NODE_CONFIG='{
|
|
"server": {
|
|
"siteUrl": "'${DS_URL:-"/"}'",
|
|
"token": {
|
|
"enable": '${JWT_ENABLED:-false}',
|
|
"secret": "'${JWT_SECRET:-secret}'",
|
|
"authorizationHeader": "'${JWT_HEADER:-Authorization}'"
|
|
}
|
|
}
|
|
}'
|
|
exec "$@"
|