Skip to content

Deploy DNS over HTTPS service on PaaS platforms (Heroku, Okteto, etc.) | 在 Heroku / Okteto 等免费 PaaS 服务平台上部署 Mosdns

License

Notifications You must be signed in to change notification settings

wy580477/Mosdns-on-PaaS

Repository files navigation

点击前往中文说明

Acknowledgments

Attention

Do not abuse service from PaaS platforms or your account could get banned. Deploy at your own risk.

Overview

This repo is for deploying mosdns DoH service which is an advanced DNS forwarder on various PaaS platforms (Heroku, Okteto, Railway, Northflank, fly.io, etc.).

未命名绘图 (1)

Deployment

  • Fork this repo
  • Modify /content/config.yaml to suit your needs. Default config file has ad-blocking and ECS enabled.
  • Strongly recommend custom DOH_PATH env value to prevent other ppl from abusing your deployment.

Deploy to Heroku

  • Heroku will stop offering free product plans and shut down free dynos starting Nov. 28, 2022.

Deploy

Deploy to Okteto, Railway, Northflank etc.

  • Link your forked repo in PaaS platform's dashboard
  • Set DOH_PATH env
  • Deploy

Deploy to Koyeb

  • Create a new release in your forked repo with a tag like "v0.0.1"
  • Wait for github action to finish
  • Use your new generated container image to deploy.

Deploy to fly.io

  • Install flyctl
  • git clone repo and change path to repo folder
  • edit fly.toml to set DOH_PATH env
# Login
flyctl auth login
# Create app
flyctl apps create <app_name>
# Set region https://fly.io/docs/reference/regions/
flyctl regions set <region_code> -a <app_name>
# Deploy
flyctl deploy --detach -a <app_name> --remote-only --no-cache

About

Deploy DNS over HTTPS service on PaaS platforms (Heroku, Okteto, etc.) | 在 Heroku / Okteto 等免费 PaaS 服务平台上部署 Mosdns

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published