-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Dockerizing Parse Server #3005
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dockerizing Parse Server #3005
Conversation
@@ -24,6 +24,13 @@ $ mongodb-runner start | |||
$ parse-server --appId APPLICATION_ID --masterKey MASTER_KEY --databaseURI mongodb://localhost/test | |||
``` | |||
|
|||
You can run a Docker container instead |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make a section :### Docker
instead of that.
@woyorus updated the pull request - view changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like a good starting point, im sure it will evolve over time. Thanks for creating this for us.
hi @woyorus
The easiest way to start with parse-server is to provide it as a dependency into your expressjs project like in this example So from what i understand the npm run build is specific for users who want to deploy parse-server without creating an expressjs app... That is correct? Thanks, |
Nah, that's the complicated way. |
@flovilmart it's strange because for me the deployment of parse-server as it is was the complicated thing :) |
@ranhsd the easiest way:
|
Could you make it even easier by doing |
problem is when we build the docker img, the package may not be available :) |
Hey everyone,
Since me and my company is running parse-server in our container clusters in production, we are really missing an official Docker image with Parse-server that is configurable and not over-bloated with stuff. We ended up making our own Parse Server image which you can see in this PR.
It is pretty simple, yet configurable. You can configure the same way you configure parse-server, either with environment variables or by passing parameters. Also, you can attach a volume with your JSON configuration and pass the path to it when you run container. Besides, you can also attach a volume with your Cloud Code.
Eventually we would love to see an official Parse Server on Docker Hub, so that we can simply pull it from there (ideally, tagged for a specific version, like
docker pull parseplatform/parse-server:2.2.25
). That would be really handy for us, and I bet for many other out there.If you have any concerns or you want anything to be different, feel free to comment and I will do it :-)