Refactor Up to use funkos

This commit is contained in:
Roberto Alsina 2024-06-29 12:35:03 -03:00
parent a2a6633104
commit 3aa58435f8

View File

@ -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