Replies: 5 comments
-
This seems to work - if there is a better way, I'd like to know!
|
Beta Was this translation helpful? Give feedback.
-
That's definitely a very solid solution. 👍
|
Beta Was this translation helpful? Give feedback.
-
Thank you @tianon. It seems to work, though unless I'm imagining things these only get applied on the first container start? (i.e. if I redeploy the Docker stack with different values those don't seem to reflect). Is that correct? |
Beta Was this translation helpful? Give feedback.
-
I'm pretty sure CLI flags like that will apply retroactively (unlike |
Beta Was this translation helpful? Give feedback.
-
Okay, thank you. I must have confused myself elsewhere |
Beta Was this translation helpful? Give feedback.
-
In the "Database Configuration" section on the image docs (https://hub.docker.com/_/postgres), it's easy to see how to override database configuration for
docker run
commands. I'm currently trying to do this viadocker stack deploy...
, and am struggling to figure this out.It would be very helpful if the
... via docker stack deploy or docker-compose
section included an example of specifying a database parameter such asrandom_page_cost
Beta Was this translation helpful? Give feedback.
All reactions