I’m trying to use Nomad to deploy an instance of Nextcloud with a Postgres DB.
I want Nextcloud to be reachable from external sources, but the DB should only be reachable by Nextcloud.
The health check is performed by Consul running on the machine. So either you have to expose the port for Consul to check it, or you don’t expose it and Consul can’t check it.
It is odd for me that options is an array. Just options { ... }. Also no need for =. Just option { ... }, no [] and no =. Similarly just driver_config {.
Thank you.
I ended up using script checks instead.
Removing the = causes Failed to parse using HCL 2.
Removing the [...] causes failed to parse config: * Incorrect attribute value type: Inappropriate value for attribute "options": list of map of string required.