Skip to content

Commit

Permalink
ANON-221 - Fix github issue (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
yumirkov authored Nov 7, 2024
1 parent 3665e1b commit 74d21ab
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@

src/main/main.iml
src/test/test.iml
/docker/onionoo-data
/docker/onionoo-data
data
9 changes: 9 additions & 0 deletions operations/deploy-dev.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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"
]
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
]
Expand Down
9 changes: 9 additions & 0 deletions operations/deploy-live.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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"
]
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
]
Expand Down
9 changes: 9 additions & 0 deletions operations/deploy-stage.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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"
]
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
]
Expand Down

0 comments on commit 74d21ab

Please sign in to comment.