2024-10-10 23:07:37 +03:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
2025-06-19 04:23:10 -07:00
|
|
|
if [ ! -f conf/config.json ]; then
|
|
|
|
jq --arg value "mongodb://openwfagent:spaceninjaserver@mongodb:27017/" '.mongodbUrl = $value' /app/config.json.example > /app/conf/config.json
|
|
|
|
fi
|
2024-10-10 23:07:37 +03:00
|
|
|
|
2025-06-20 18:30:52 -07:00
|
|
|
exec npm run start -- --configPath conf/config.json
|