Skip to content

Commit

Permalink
feat: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ckartik committed Sep 5, 2024
1 parent e3048f3 commit a0dbb57
Showing 1 changed file with 26 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,33 +35,33 @@ job "{{ job.name }}" {
{% endfor %}
}

config {
cni_config = jsonencode({
"cniVersion": "0.4.0", // Updated CNI version
"name": "{{ job.name }}-network",
"plugins": [
{
"type": "bridge", // CNI plugin type
"bridge": "br0",
"isGateway": true,
"ipMasq": true,
"ipam": {
"type": "host-local",
"subnet": "172.16.30.0/24",
"routes": [
{
"dst": "0.0.0.0/0"
config {
cni_config = jsonencode({
"cniVersion": "0.4.0",
"name": "geth-network",
"plugins": [
{
"type": "bridge",
"bridge": "br0",
"isGateway": true,
"ipMasq": true,
"ipam": {
"type": "host-local",
"subnet": "172.16.30.0/24",
"routes": [
{
"dst": "0.0.0.0/0"
}
]
}
]
}
},
{
"type": "portmap",
"capabilities": { "portMappings": true }
}
]
})
}
},
{
"type": "portmap",
"capabilities": { "portMappings": true }
}
]
})
}

task "node" {
driver = "exec"
Expand Down

0 comments on commit a0dbb57

Please sign in to comment.