mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-16 16:51:02 +02:00
Add userID control over compose containers
This commit is contained in:
parent
44c0d6f347
commit
08be8b288f
1 changed files with 6 additions and 0 deletions
|
|
@ -22,6 +22,8 @@
|
|||
|
||||
with_image:: function(x) self + { image: x },
|
||||
|
||||
with_user:: function(x) self + { user: x },
|
||||
|
||||
with_command:: function(x) self + { command: x },
|
||||
|
||||
with_environment:: function(x) self + {
|
||||
|
|
@ -75,6 +77,10 @@
|
|||
{ command: container.command }
|
||||
else {}) +
|
||||
|
||||
(if std.objectHas(container, "user") then
|
||||
{ user: container.user }
|
||||
else {}) +
|
||||
|
||||
(if ! std.isEmpty(container.environment) then
|
||||
{ environment: container.environment }
|
||||
else {}) +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue