Migration of Parse Server with docker (Part1)
overview:
Setup parse server with docker
docker run -d -p 27017:27017 --name mongo mongo
docker run -d -e APP_ID={appId} -e MASTER_KEY={masterKey} -e FILE_KEY={fileKey} -p 1337:1337 --link mongo yongjhih/parse-server
That’s it.
Or with docker-compose
wget https://github.com/yongjhih/docker-parse-server/blob/master/docker-compose.yml
APP_ID=myAppId MASTER_KEY=myMasterKey docker-compose up
- api: http://localhost:1337/
- db: mongodb://localhost:27017/dev
References
- Docker image source code: https://github.com/yongjhih/docker-parse-server
- Official migration guide: https://parse.com/docs/server/guide#migrating
- Parse Server Source code: https://github.com/ParsePlatform/parse-server
- Parse Server Example: https://github.com/ParsePlatform/parse-server-example
- Parse Server Wiki: https://github.com/ParsePlatform/parse-server/wiki
origin from: https://medium.com/cowbear-coder/migration-of-parse-server-with-docker-part1-87034cc29978