Working healthcheck endpoint, and try to persist custom modules.
This commit is contained in:
@@ -14,7 +14,10 @@ job "farmos" {
|
|||||||
config {
|
config {
|
||||||
image = "farmos/farmos:2.1.2"
|
image = "farmos/farmos:2.1.2"
|
||||||
ports = ["http"]
|
ports = ["http"]
|
||||||
volumes = [ "/data/compute/appdata/farmos:/opt/drupal/web/sites" ]
|
volumes = [
|
||||||
|
"/data/compute/appdata/farmos:/opt/drupal/web/sites",
|
||||||
|
"/data/compute/appdata/farmos/custom-modules:/opt/drupal/web/modules/custom",
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
service {
|
service {
|
||||||
@@ -23,7 +26,7 @@ job "farmos" {
|
|||||||
check {
|
check {
|
||||||
type = "http"
|
type = "http"
|
||||||
port = "http"
|
port = "http"
|
||||||
path = "/"
|
path = "/health"
|
||||||
interval = "30s"
|
interval = "30s"
|
||||||
timeout = "2s"
|
timeout = "2s"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user