Skip to content

Commit a7a8ef5

Browse files
committed
chore(ttydbridge): update auth method
1 parent 1137820 commit a7a8ef5

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

Apps/ttydbridge/docker-compose.yml

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
name: ttydbridge
22
services:
33
ttydbridge:
4-
command: []
54
container_name: ttydbridge
65
deploy:
76
resources:
87
reservations:
98
memory: 8M
109
environment:
1110
- EXEC_DIR=/opt
12-
- HTTP_PASSWORD=password
13-
- HTTP_USERNAME=admin
11+
# - HTTP_PASSWORD=password
12+
# - HTTP_USERNAME=admin
1413
- PORT=2222
15-
- START_COMMAND=bash
14+
- START_COMMAND=login
1615
image: cp0204/ttydbridge:v0.0.3
1716
labels:
1817
icon: https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/ttydbridge/icon.png
@@ -55,15 +54,15 @@ x-casaos:
5554
tips:
5655
before_install:
5756
en_us: >
58-
1. You can set the `HTTP_USERNAME` and `HTTP_PASSWORD` variables to modify or remove HTTP authentication.
57+
1. Default to using Linux system user authentication.
5958
60-
2. The default username and password are `admin` and `password`.
59+
2. You can increase HTTP authentication by setting the `HTTP_USERNAME` and `HTTP_PASSWORD` variables.
6160
6261
[Official DOC](https://hub.docker.com/r/cp0204/ttydbridge)
6362
zh_cn: |
64-
1. 可以设置 `HTTP_USERNAME` `HTTP_PASSWORD` 变量,修改与删掉 HTTP 鉴权
63+
1. 默认使用 Linux 系统用户鉴权
6564
66-
2. 默认的账号密码为 `admin` `password`
65+
2. 可以通过设置 `HTTP_USERNAME` `HTTP_PASSWORD` 变量,增加 HTTP 鉴权
6766
6867
[官方文档](https://hub.docker.com/r/cp0204/ttydbridge)
6968
title:

0 commit comments

Comments
 (0)