open:parse-server

parse server

{
  "appName": "Parse Server Application",
  "databaseURI": "mongodb://[mongodb_user]:[mongodb_password]@[mongodb_ip]:[mongodb_port]/[mongodb_database]",
  "appId": "[app_id]",
  "masterKey": "master_key",
  "serverURL": "http://localhost:1337/parse",
  "publicServerURL": "http://0.0.0.0:1337/parse",
  "port": 1337,
  "liveQuery": {
	  "classNames": ["Pantry", "Test", "TestAgain"]
  },
  "liveQueryServerOptions": {
	 "serverURL": "http://localhost:1337"
  },
  "allowOrigin": "*"
}

/etc/systemd/system/parse.service

[Unit]
Description=Parse Server service
After=network.target
StartLimitIntervalSec=0

[Service]
Type=simple
Restart=always
RestartSec=1
User=[user]
ExecStart=/usr/local/bin/parse-server /home/[user]/parse_server/config.json

[Install]
WantedBy=multi-user.target


  • open/parse-server.txt
  • 마지막으로 수정됨: 2021/05/30 12:15
  • 저자 127.0.0.1