engine: resources: Fix backwards docker ports

This wasn't setup properly, now it's fixed. Woops.
This commit is contained in:
James Shubin
2025-03-12 03:16:08 -04:00
parent 37308b950b
commit 3ca1aa9cb1
4 changed files with 25 additions and 11 deletions

View File

@@ -56,7 +56,7 @@ It has the following properties:
* `image`: docker `image` or `image:tag`
* `cmd`: a command or list of commands to run on the container
* `env`: a list of environment variables, e.g. `["VAR=val",],`
* `ports`: a map of portmappings, e.g. `{"tcp" => {80 => 8080, 443 => 8443,},},`
* `ports`: a map of portmappings, e.g. `{"tcp" => {8080 => 80, 8443 => 443,},},`
* `apiversion:` override the host's default docker version, e.g. `"v1.35"`
* `force`: destroy and rebuild the container instead of erroring on wrong image