News for hackers. Stuff that matters.
Re:Show HN: PNGR – Docker-compose for a Postgres-Nginx-Golan... by karlkeefer on Friday November 22, 2019 @09:49PM (#21612109)
The purpose of this project was to get a docker-compose setup with good developer ergonomics.

Basically you should just be able to `docker-compose up` and start hacking at front-end or back-end code and have hot reloading of both _just work_.

I aimed to keep things pretty minimal. With some effort you can swap Redux for Unstated, pick a different component library, swap my api router for gorilla mux, whatever you want.

Happy to make changes based on feedback. I'm _sure_ this could be improved with more eyes on it.

Enjoy :)

Re:Show HN: PNGR – Docker-compose for a Postgres-Nginx-Golan... by brian_herman on Friday November 22, 2019 @10:30PM (#21612261)
Is a requirement of this framework to only use PNG for graphics? On a more serious note this is awesome! Good job PNGR would be great for a new project.
Re:Show HN: PNGR – Docker-compose for a Postgres-Nginx-Golan... by Operyl on Saturday November 23, 2019 @12:21AM (#21612628)
I can't tell if it was a joke, but just in case someone else has problems:

Postres

Nginx

Golang

React

So .. nope! :)

Re:Show HN: PNGR – Docker-compose for a Postgres-Nginx-Golan... by thegeekpirate on Saturday November 23, 2019 @12:32AM (#21612666)
It's in the title of this very submission =b
Re:Show HN: PNGR – Docker-compose for a Postgres-Nginx-Golan... by Operyl on Saturday November 23, 2019 @02:28AM (#21612926)
Yup! Which in some cases would get truncated, i.e. in the HN interface itself: "Show HN: PNGR – Docker-compose for a Postgres-Ngin...".
Re:Show HN: PNGR – Docker-compose for a Postgres-Nginx-Golan... by capableweb on Saturday November 23, 2019 @06:44AM (#21613646)
Neither web or the mobile site seems to truncate the title so not sure what "HN interface itself" you're referring to. Maybe you're using a third-part client?
Re:Show HN: PNGR – Docker-compose for a Postgres-Nginx-Golan... by Operyl on Saturday November 23, 2019 @12:55PM (#21615405)
Despite all my downvoters ... when you’re in single comment view the text most definitely is truncated on both desktop and mobile :).
Re:Show HN: PNGR – Docker-compose for a Postgres-Nginx-Golan... by capableweb on Saturday November 23, 2019 @12:57PM (#21615418)
That's absolutely true! Haven't noticed that before. I guess me and most people don't look for the title while responding to a comment.
Re:Show HN: PNGR – Docker-compose for a Postgres-Nginx-Golan... by Operyl on Saturday November 23, 2019 @01:00PM (#21615437)
Believe it or not, I generally find myself in these submissions based on viewing comments from https://news.ycombinator.com/newcomments . So yeah, just a bit jarring seeing so many people basically use the downvote button to call me a liar.
Re:Show HN: PNGR – Docker-compose for a Postgres-Nginx-Golan... by codedokode on Saturday November 23, 2019 @10:43AM (#21614644)
This is bad ergonomics because to use it the developer has to install Docker which is a monster made by commercial company and run with root privileges. It's privileges are enough to gather "telemetry" including you browser cookies and history, install and uninstall software or delete all files on your hard drive. Why would anyone want to run such dangerous daemon I don't understand.

Also on Windows and Mac Docker user virtual machines with worse performance.

It is OK to install Docker on a throwaway VPS, or in office, but not on your own machine.

Instead of this poor designed technology it is better to use portable programs (which can be downloaded in binary form to avoid compilation) and collection of bash scripts. Then you won't have to install the aforementioned proprietary daemon.

Re:Show HN: PNGR – Docker-compose for a Postgres-Nginx-Golan... by nawitus on Saturday November 23, 2019 @10:55AM (#21614700)
Bad ergonomics? Pretty much every developer I interact with has Docker already installed, which makes this very ergonomic to use.