4 ms·
React, Express, Postgress, Nginx all in Docker containers managed with Docker Machine on a Digital Ocean box. It may not be the most simple/quick solution, but
by GijsjanB 8y ago
React, Express, Postgress, Nginx all in Docker containers managed with Docker Machine on a Digital Ocean box. It may not be the most simple/quick solution, but with some copy/pasting I can get something up rather quick and it's super flexible. Need OCR? Add a Tesseract container. Need a fileserver? Etc.
- iopuy 8y agohow do you handle authentication?
- raarts 8y agoDon't know about GP but in a similar setup I use keycloak.
- cbzbc 8y agoLooks good - though it does introduce a dependency on java.
- GijsjanB 8y agoDepends. Most of the time, I don't need any, because it's a quick 'n dirty proof of concept. For production, at work, we have a federated login, so external. For side projects, I use a good ol' Postgress table.