Refactor Up to use funkos
This commit is contained in:
parent
a2a6633104
commit
3aa58435f8
@ -137,7 +137,10 @@ module Faaso
|
|||||||
|
|
||||||
# FIXME: name should be unique
|
# FIXME: name should be unique
|
||||||
response = docker_api.containers.create(name: "fungus", config: conf)
|
response = docker_api.containers.create(name: "fungus", config: conf)
|
||||||
|
response.@warnings.each { |msg| puts "Warning: #{msg}" }
|
||||||
|
container_id = response.@id
|
||||||
docker_api.containers.start(response.@id)
|
docker_api.containers.start(response.@id)
|
||||||
|
# TODO: wait until container is running before next
|
||||||
end
|
end
|
||||||
# TODO: Run test for healthcheck
|
# TODO: Run test for healthcheck
|
||||||
# TODO: Map route in reverse proxy to function
|
# TODO: Map route in reverse proxy to function
|
||||||
|
Loading…
Reference in New Issue
Block a user