3 ms·
There is config change in steps above (pgsql defaults suck), and having docker now, changing them becomes harder. Also, I usually change hba.conf file too, to
by riku_iki 4y ago
There is config change in steps above (pgsql defaults suck), and having docker now, changing them becomes harder.
Also, I usually change hba.conf file too, to disallow outside connections.
- jayd16 4y agoKeep in mind the suggestion was a managed product in production but if you really need to customize your local image, you can mount in arbitrary initialization scripts as well. If you need all this customization then did SQLite really fit the bill in the first place?
- riku_iki 4y ago> if you really need to customize your local image I need to change config for prod pgsql instance, because default config performance wise is not necessary suitable for serious prod machines. > If you need all this customization then did SQLite really fit the bill in the first place? I am not familiar with SQLite, but somehow familiar with Java H2 DB, which has similar idea. You can embed it and all configs into self contained java jar file together with your app and no moves in host OS is needed.
- physicsguy 4y agoI only use this for local development personally, we use RDS in Prod