Skip to content

Commit

Permalink
Adds seed relay sale data cli operation skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
jim-toth committed Jul 30, 2024
1 parent 73c3752 commit 2bcfdea
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions operations/seed-relay-sale-data.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
job "seed-relay-sale-data" {
datacenters = ["ator-fin"]
type = "batch"

group "seed-relay-sale-data-group" {
count = 1

volume "relay-sale-data-volume" {
type = "host"
read_only = true
source = "relay-sale-data-volume"
}

network {
mode = "bridge"
port "validator" {
to = 3000
host_network = "wireguard"
}
}

vault {
// TODO
}

task "seed-relay-sale-data-task" {
driver = "docker"

volume_mount {
volume = "relay-sale-data-volume"

read_only = true
}

env {
// TODO
}

template {
// TODO
}

config {
image = "ghcr.io/ator-development/valid-ator:[[.deploy]]"
entrypoint = [ "npm" ]
args = [
"run", "cli", "--",
"seed", "relay-sale-data",
"--data", "TODO -> pathtodata" // TODO
]
}
}
}
}

0 comments on commit 2bcfdea

Please sign in to comment.