diff --git a/.gitignore b/.gitignore index 60b2653..5e4020f 100755 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,5 @@ src/main/main.iml src/test/test.iml -/docker/onionoo-data \ No newline at end of file +/docker/onionoo-data +data diff --git a/operations/deploy-dev.hcl b/operations/deploy-dev.hcl index b70275c..d345c44 100644 --- a/operations/deploy-dev.hcl +++ b/operations/deploy-dev.hcl @@ -3,6 +3,12 @@ job "onionoo-dev" { type = "service" namespace = "ator-network" + update { + max_parallel = 1 + healthy_deadline = "15m" + progress_deadline = "20m" + } + group "onionoo-dev-group" { count = 1 @@ -52,6 +58,7 @@ job "onionoo-dev" { config { image = "ghcr.io/anyone-protocol/onionoo:DEPLOY_TAG" + image_pull_timeout = "15m" volumes = [ "local/logs/:/srv/onionoo/data/logs" ] @@ -89,6 +96,7 @@ job "onionoo-dev" { config { image = "ghcr.io/anyone-protocol/onionoo:DEPLOY_TAG" + image_pull_timeout = "15m" ports = ["http-port"] volumes = [ "local/logs/:/srv/onionoo/data/logs" @@ -141,6 +149,7 @@ job "onionoo-dev" { config { image = "ghcr.io/anyone-protocol/onionoo-cron:DEPLOY_TAG" + image_pull_timeout = "15m" volumes = [ "local/logs/:/srv/onionoo/data/logs" ] diff --git a/operations/deploy-live.hcl b/operations/deploy-live.hcl index c2f9f99..1c74a89 100644 --- a/operations/deploy-live.hcl +++ b/operations/deploy-live.hcl @@ -3,6 +3,12 @@ job "onionoo-live" { type = "service" namespace = "ator-network" + update { + max_parallel = 1 + healthy_deadline = "15m" + progress_deadline = "20m" + } + group "onionoo-live-group" { count = 1 @@ -53,6 +59,7 @@ job "onionoo-live" { config { image = "ghcr.io/anyone-protocol/onionoo:DEPLOY_TAG" + image_pull_timeout = "15m" volumes = [ "local/logs/:/srv/onionoo/data/logs" ] @@ -86,6 +93,7 @@ job "onionoo-live" { config { image = "ghcr.io/anyone-protocol/onionoo:DEPLOY_TAG" + image_pull_timeout = "15m" ports = ["http-port"] volumes = [ "local/logs/:/srv/onionoo/data/logs" @@ -134,6 +142,7 @@ job "onionoo-live" { config { image = "ghcr.io/anyone-protocol/onionoo-cron:DEPLOY_TAG" + image_pull_timeout = "15m" volumes = [ "local/logs/:/srv/onionoo/data/logs" ] diff --git a/operations/deploy-stage.hcl b/operations/deploy-stage.hcl index 5285b5a..df5f02f 100644 --- a/operations/deploy-stage.hcl +++ b/operations/deploy-stage.hcl @@ -3,6 +3,12 @@ job "onionoo-stage" { type = "service" namespace = "ator-network" + update { + max_parallel = 1 + healthy_deadline = "15m" + progress_deadline = "20m" + } + group "onionoo-stage-group" { count = 1 @@ -53,6 +59,7 @@ job "onionoo-stage" { config { image = "ghcr.io/anyone-protocol/onionoo:DEPLOY_TAG" + image_pull_timeout = "15m" volumes = [ "local/logs/:/srv/onionoo/data/logs" ] @@ -86,6 +93,7 @@ job "onionoo-stage" { config { image = "ghcr.io/anyone-protocol/onionoo:DEPLOY_TAG" + image_pull_timeout = "15m" ports = ["http-port"] volumes = [ "local/logs/:/srv/onionoo/data/logs" @@ -134,6 +142,7 @@ job "onionoo-stage" { config { image = "ghcr.io/anyone-protocol/onionoo-cron:DEPLOY_TAG" + image_pull_timeout = "15m" volumes = [ "local/logs/:/srv/onionoo/data/logs" ]