We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40eea76 commit 7ec8077Copy full SHA for 7ec8077
README.md
@@ -42,6 +42,7 @@ For now you can:
42
* [Nomad runtime environment](https://www.nomadproject.io/docs/runtime/environment.html) is populated
43
* use nomad alloc data in the container.
44
* bind mount custom volumes into the container
45
+* publish ports
46
* monitor the memory consumption
47
* monitor CPU usage (might be buggy)
48
* container memory is limited to configured value
@@ -137,11 +138,18 @@ job "redis" {
137
138
139
config {
140
image = "docker://redis"
141
+ port_map {
142
+ redis = 6379
143
+ }
144
}
145
146
resources {
147
cpu = 500
148
memory = 256
149
+ network {
150
+ mbits = 20
151
+ port "redis" {}
152
153
154
155
0 commit comments