Also this works:
not, environment:, and not an array but an object.
environment:
"env": { "PORT": "8080", "RUST_BACKTRACE": "1" },