Working healthcheck endpoint, and try to persist custom modules.
This commit is contained in:
@@ -14,7 +14,10 @@ job "farmos" {
|
||||
config {
|
||||
image = "farmos/farmos:2.1.2"
|
||||
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 {
|
||||
@@ -23,7 +26,7 @@ job "farmos" {
|
||||
check {
|
||||
type = "http"
|
||||
port = "http"
|
||||
path = "/"
|
||||
path = "/health"
|
||||
interval = "30s"
|
||||
timeout = "2s"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user