#!/usr/bin/env ruby # frozen_string_literal: true $LOAD_PATH << File.join(File.dirname(__FILE__), "../lib") require "compose-hook" port = ENV["COMPOSE_HOOK_PORT"] || 1337 host = ENV["COMPOSE_HOOK_HOST"] || "0.0.0.0" run ComposeHook::WebHook.run!(port: port, bind: host)