We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
version: "3" services: webssh: image: jrohy/webssh:latest container_name: webssh environment: - GIN_MODE=release - TZ=Asia/Shanghai - savePass=true ports: - 5032:5032 restart: always
The text was updated successfully, but these errors were encountered:
我的练习demo用code-server ssh 用web登录 这样的话所有操作都实现了 web化 有一个浏览器就随时随地code
Sorry, something went wrong.
docker-compose中怎么加入-a参数呢
version: '3.3' services: webssh: #服务名,可以自定义 container_name: webssh #容器名,可以自定义 command: ["-a", "admin:password"] # 设置账号密码 ports: - '5032:5032' # 添加容器端口映射 environment: - PUID=0 # 稍后在终端输入id可以查看当前用户的id - PGID=0 # 同上 - TZ=Asia/Shanghai #时区,可以自定义 - SAVEPASS=false # 是否保存密码,这里设置为false restart: always #开启开机自启动 image: jrohy/webssh #镜像名不要改 是这样吗
No branches or pull requests
version: "3"
services:
webssh:
image: jrohy/webssh:latest
container_name: webssh
environment:
- GIN_MODE=release
- TZ=Asia/Shanghai
- savePass=true
ports:
- 5032:5032
restart: always
The text was updated successfully, but these errors were encountered: