Skip to content

Commit

Permalink
同步源库
Browse files Browse the repository at this point in the history
  • Loading branch information
elunez committed Jun 13, 2023
1 parent da00d47 commit e3e0cff
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,20 @@

原版:https://github.com/1injex/azure-manager

安装教程:https://www.ydyno.com/archives/1404.html
## 使用方法

```bash
docker run -itd --name az \
--restart always \
-p 8888:8888 \
dqjdda/azure-manager
```

## 重置管理密码

```bash
docker exec -it az flask admin 用户名 密码
```

### 默认VM账号密码

Expand All @@ -15,4 +28,5 @@

提取API参数:https://www.ydyno.com/archives/1394.html

邮箱:用于多账号区分,可填写你注册azure的邮箱
密码:appId|password|tenant|subscriptions
4 changes: 2 additions & 2 deletions azure/templates/account.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
{% block content %}
<p>{{ Credentials|length }} Accounts</p>
<form method="post">
<p>邮箱 <input type="text" name="account" autocomplete="off" required></p>
<p>密码 <input type="text" name="string" placeholder="appId|password|tenant|subs" autocomplete="off" required></p>
<p>邮箱 <input type="text" name="account" style="width: 170px;" placeholder="your email" autocomplete="off" required></p>
<p>密码 <input type="text" name="string" style="width: 170px;" placeholder="your apikey" autocomplete="off" required></p>
<input class="btn" type="submit" name="submit" value="Add">
</form>
{% endblock %}

0 comments on commit e3e0cff

Please sign in to comment.