Open neuroserve opened 2 years ago
Don't forget to pass the env
env {
PGDATA="/alloc/data"
}
It is omitted in the nomad job example.
@neuroserve
There are still a lot of issues with the original job, I had to create a lot of other hardcodes to make it work. Have you managed to correctly boostrap the working patroni cluster inside nomad?
Haven't checked it yet. Am setting up a new environment right now...
Hello,
I'm trying to deploy into nomad but I get this error:
I used the same bootstrap configuration as in the docker-compose example. With docker-compose the deployment works OK (although I have no idea yet how to create a HA cluster with it - neither with docker compose nor with nomad).
Is this (restoring the configuration files from backup) a configuration option in the bootstrap config? Are there even configuration files to restore while setting up a new cluster?
Thanks for any hints. Töns