No need to filter containers here
This commit is contained in:
parent
7104403585
commit
379b4e2472
@ -1 +1 @@
|
||||
password: admin
|
||||
password: adminfoo
|
||||
|
8
config/funkos
Normal file
8
config/funkos
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
handle_path /faaso/hello/* {
|
||||
reverse_proxy /* http://faaso-hello-9zth8p:3000 {
|
||||
health_uri /ping
|
||||
fail_duration 30s
|
||||
}
|
||||
}
|
||||
|
@ -99,7 +99,8 @@ module Funko
|
||||
sleep 0.1.seconds
|
||||
}
|
||||
else
|
||||
containers.select { |container| container.@state == "running" }.sort! { |i, j|
|
||||
# Sort them older to newer, so we stop the oldest
|
||||
containers.sort! { |i, j|
|
||||
i.@created <=> j.@created
|
||||
}.each { |container|
|
||||
Log.info { "Removing instance" }
|
||||
|
Loading…
Reference in New Issue
Block a user