#Help with Payload + Docker + Nginx

1 messages Β· Page 1 of 1 (latest)

lusty whale
#

Hey friends πŸ‘‹

My Docker knowledge is sketchy at best, and whilst I get the core principles, nginx bends my mind. The Docker setup in create-payload-app is great, but I'd like to add an Nginx layer so that I can easily and repeatably deploy Payload to a Digital Ocean droplet (for eg)

Does anyone have a sample Dockerfile that includes the required Nginx setup to expose the Express server from Payload?

...ideally one with domain names etc set in a single config that are then mapped into the image.

Would appreciate any assistance πŸ™

raven sphinxBOT
wind rose
lusty whale
#

I somehow missed that, I think, thansk @wind rose . I'll hack my way through and see if I can come right 😊

tall relic
#

I personally prefer to not run nginx inside of a container.

Running it in a container always tends to be more of a headache for me in the long run

wind rose
#

☝️ Agree with this. Most would recommend relying on your deployment platform.