Include env
This commit is contained in:
@@ -2,7 +2,7 @@ require "mrsk/commands/base"
|
||||
|
||||
class Mrsk::Commands::Accessory < Mrsk::Commands::Base
|
||||
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:)
|
||||
super(config)
|
||||
@@ -15,6 +15,7 @@ class Mrsk::Commands::Accessory < Mrsk::Commands::Base
|
||||
"-d",
|
||||
"--restart", "unless-stopped",
|
||||
"-p", port,
|
||||
*env_args,
|
||||
*volume_args,
|
||||
*label_args,
|
||||
image
|
||||
|
||||
Reference in New Issue
Block a user