Include env
This commit is contained in:
@@ -2,7 +2,7 @@ require "mrsk/commands/base"
|
|||||||
|
|
||||||
class Mrsk::Commands::Accessory < Mrsk::Commands::Base
|
class Mrsk::Commands::Accessory < Mrsk::Commands::Base
|
||||||
attr_reader :accessory_config
|
attr_reader :accessory_config
|
||||||
delegate :service_name, :image, :host, :port, :volume_args, :label_args, to: :accessory_config
|
delegate :service_name, :image, :host, :port, :env_args, :volume_args, :label_args, to: :accessory_config
|
||||||
|
|
||||||
def initialize(config, name:)
|
def initialize(config, name:)
|
||||||
super(config)
|
super(config)
|
||||||
@@ -15,6 +15,7 @@ class Mrsk::Commands::Accessory < Mrsk::Commands::Base
|
|||||||
"-d",
|
"-d",
|
||||||
"--restart", "unless-stopped",
|
"--restart", "unless-stopped",
|
||||||
"-p", port,
|
"-p", port,
|
||||||
|
*env_args,
|
||||||
*volume_args,
|
*volume_args,
|
||||||
*label_args,
|
*label_args,
|
||||||
image
|
image
|
||||||
|
|||||||
Reference in New Issue
Block a user