From 9f469271d829df07a3e3a934add346da59437b7a Mon Sep 17 00:00:00 2001 From: Junwei Zhao Date: Fri, 21 May 2021 07:36:07 +1000 Subject: [PATCH] Add deploy to heroku button --- README.CN.md | 4 ++++ README.md | 7 ++++++- app.json | 8 ++++---- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/README.CN.md b/README.CN.md index 9afc353..d5289da 100644 --- a/README.CN.md +++ b/README.CN.md @@ -5,6 +5,10 @@ Aria2 + AriaNg [![](https://images.microbadger.com/badges/image/wahyd4/aria2-ui.svg)](https://microbadger.com/images/wahyd4/aria2-ui "Get your own image badge on microbadger.com") [![Docker Pulls](https://img.shields.io/docker/pulls/wahyd4/aria2-ui.svg)](https://hub.docker.com/r/wahyd4/aria2-ui/) [![Github Build](https://github.com/wahyd4/aria2-ariang-docker/workflows/Docker%20Image%20CI/badge.svg)](https://github.com/wahyd4/aria2-ariang-docker/actions) + +[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/wahyd4/aria2-ariang-docker/tree/heroku) + + [![Page Views Count](https://badges.toozhao.com/badges/01EJ791D8BB43PDS8D7PP7H0YE/green.svg)](https://badges.toozhao.com/stats/01EJ791D8BB43PDS8D7PP7H0YE "Get your own page views count badge on badges.toozhao.com") buy me a drink diff --git a/README.md b/README.md index 9373294..05af27d 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,13 @@ English | [简体中文](https://github.com/wahyd4/aria2-ariang-docker/blob/mast [![](https://images.microbadger.com/badges/image/wahyd4/aria2-ui.svg)](https://microbadger.com/images/wahyd4/aria2-ui "Get your own image badge on microbadger.com") [![Docker Pulls](https://img.shields.io/docker/pulls/wahyd4/aria2-ui.svg)](https://hub.docker.com/r/wahyd4/aria2-ui/) [![Github Build](https://github.com/wahyd4/aria2-ariang-docker/workflows/Docker%20Image%20CI/badge.svg)](https://github.com/wahyd4/aria2-ariang-docker/actions) + +[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/wahyd4/aria2-ariang-docker/tree/heroku) + [![Page Views Count](https://badges.toozhao.com/svg/aria2-ariang-docker)](https://badges.toozhao.com/stats/aria2-ariang-docker "Page Views Count") + + **If you like this project, please consider support me / 如果喜欢本项目,请考虑打赏,谢谢!** buy me a drink @@ -42,7 +47,7 @@ File Browser * [Aria2 (SSL support)](https://aria2.github.io) * [AriaNg](https://github.com/mayswind/AriaNg) * [Rclone](https://rclone.org/) - * [File Browser](https://filebrowser.xyz/): Files mangement and videos playing + * [File Browser](https://filebrowser.xyz/): Files mangement and videos playing * Auto HTTPS (Let's Encrypt) * Bind non root user into container, so non root user can also manage downloaded files. * Basic Auth diff --git a/app.json b/app.json index 5475f8d..ce756d1 100644 --- a/app.json +++ b/app.json @@ -7,8 +7,8 @@ "success_url": "/", "env": { "ENABLE_AUTH": { - "description": "If to Enable Basic Auth to gain some basic security confidence", - "value": "true", + "description": "This value must be heroku when running in Heroku", + "value": "heroku", "required": false }, "ARIA2_USER": { @@ -22,8 +22,8 @@ "required": false }, "ARIA2_EXTERNAL_PORT": { - "description": "External port for apps", - "value": "80", + "description": "External port for apps, it should be 443 when running in Heroku", + "value": "443", "required": false }, "PUID": {