this differs from the standard config in that it adds a volume to mount your custom config file:
- ./postgres/postgresql.conf:/etc/postgresql.conf
and then adds a command to use that config file instead of the default:
command: postgres -c config_file=/etc/postgresql.conf
of course make sure you like, have a custom config file at postgres/postgresql.conf or change the first part of that volumes command to point to wherever yours is but next time you build/restart it will load that config file.
PHEW!!!!
@anna so.. what is docker anyway and why do you need it?
I stream games on Twitch occasionally and am a freelance PC builder.