- Notifications
You must be signed in to change notification settings - Fork18
Deploy DNS over HTTPS service on PaaS platforms (Heroku, Okteto, etc.) | 在 Heroku / Okteto 等免费 PaaS 服务平台上部署 Mosdns
License
NotificationsYou must be signed in to change notification settings
wy580477/Mosdns-on-PaaS
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
- IrineSistiana/mosdns An advanced DNS forwarder.
- v2fly
Do not abuse service from PaaS platforms or your account could get banned. Deploy at your own risk.
This repo is for deployingmosdns DoH service which is an advanced DNS forwarder on various PaaS platforms (Heroku, Okteto, Railway, Northflank, fly.io, etc.).
- 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.
- Heroku will stop offering free product plans and shut down free dynos starting Nov. 28, 2022.
- Link your forked repo in PaaS platform's dashboard
- Set DOH_PATH env
- Deploy
- 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.
- Installflyctl
- git clone repo and change path to repo folder
- edit fly.toml to set DOH_PATH env
# Loginflyctl auth login# Create appflyctl apps create <app_name># Set region https://fly.io/docs/reference/regions/flyctl regions set <region_code> -a <app_name># Deployflyctl deploy --detach -a <app_name> --remote-only --no-cache