Skip to content

Instantly share code, notes, and snippets.

@keb
Last active August 23, 2023 03:57
Show Gist options
  • Save keb/ac2d7163000eed7334c1ded839e4b35f to your computer and use it in GitHub Desktop.
Save keb/ac2d7163000eed7334c1ded839e4b35f to your computer and use it in GitHub Desktop.
whoogle deploy on fly
app = "search"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []
[build]
image = "benbusby/whoogle-search:0.8.3"
[env]
EXPOSE_PORT = "5006"
WHOOGLE_CONFIG_COUNTRY = "countryUS"
WHOOGLE_CONFIG_LANGUAGE = "lang_en"
WHOOGLE_CONFIG_SEARCH_LANGUAGE = "lang_en"
WHOOGLE_CONFIG_THEME = "dark"
HTTPS_ONLY = "1"
WHOOGLE_CONFIG_ALTS = "1"
WHOOGLE_ALT_TW = "twitter.com"
WHOOGLE_ALT_MD = "scribe.rip"
WHOOGLE_ALT_IMG = "i.bcow.xyz"
WHOOGLE_ALT_YT = "youtube.com"
WHOOGLE_ALT_IG = "instagram.com"
WHOOGLE_ALT_RD = "reddit.com"
WHOOGLE_ALT_TL = "translate.google.com"
WHOOGLE_ALT_WIKI = "wikipedia.org"
WHOOGLE_ALT_IMDB = "imdb.com"
WHOOGLE_ALT_QUORA = "quora.com"
WHOOGLE_MINIMAL = "1"
WHOOGLE_MINIMAL_MODE = "1"
WHOOGLE_AUTOCOMPLETE = "0"
WHOOGLE_CONFIG_GET_ONLY = "1"
WHOOGLE_CONFIG_VIEW_IMAGE = "1"
[[services]]
http_checks = []
internal_port = 5006
processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.ports]]
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 6
timeout = "2s"
@keb
Copy link
Author

keb commented Jun 17, 2022

for 0.6.0:

app = "search"

kill_signal = "SIGINT"
kill_timeout = 5
processes = []

[build]
  image = "benbusby/whoogle-search:0.6.0"

[env]
EXPOSE_PORT = "80"
WHOOGLE_CONFIG_COUNTRY = "countryUS"
WHOOGLE_CONFIG_LANGUAGE = "lang_en"
WHOOGLE_CONFIG_SEARCH_LANGUAGE = "lang_en"
WHOOGLE_CONFIG_THEME = "dark"
HTTPS_ONLY = "1"
WHOOGLE_ALT_TW = "https://nitter.net"
WHOOGLE_ALT_MD = "https://scribe.rip"
WHOOGLE_ALT_IMG = "https://imgin.voidnet.tech/"
WHOOGLE_MINIMAL = "1"
WHOOGLE_MINIMAL_MODE = "1"
WHOOGLE_AUTOCOMPLETE = "0"
WHOOGLE_CONFIG_GET_ONLY = "1"
WHOOGLE_CONFIG_VIEW_IMAGE = "1"

[[services]]
  http_checks = []
  internal_port = 80
  processes = ["app"]
  protocol = "tcp"
  script_checks = []

  [services.concurrency]
    hard_limit = 25
    soft_limit = 20
    type = "connections"

  [[services.ports]]
    handlers = ["http"]
    port = 80

  [[services.ports]]
    handlers = ["tls", "http"]
    port = 443

  [[services.tcp_checks]]
    grace_period = "1s"
    interval = "15s"
    restart_limit = 6
    timeout = "2s"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment