Closed dantio closed 1 year ago
Afaik the home directory of the user things are running under needs to be persistent.
I see you are using Docker Swarm to spin up the cluster. We have built out some tooling for setting up pgaf on Swarm over at https://github.com/neuroforgede/pg_auto_failover_swarm . Maybe it will help :).
Thank you. With persistent XDG_CONFIG_HOME and XDG_DATA_HOME my docker swarm setup works fine.
Hey, thank you for this awesome project.
I'm trying to deploy
pg_auto_failover
in docker swarm. Everything looks good so far.My Question is about
XDG_CONFIG_HOME
andXDG_DATA_HOME
. Do they need to be persistent? It looks like, only if the folder is persistent, pg_auto_failover can bring back postgres back. Can I change the folder to PGDATA?Also, what is the purpose of
/var/backup
Folder? I had to give it the right permission, without pg_auto_failover did not start. Should this folder also be persisten?Thank you in advance
Dockerfile