Update _index.pt.md

This commit is contained in:
Xp96 2024-11-23 12:57:51 -03:00 committed by GitHub
parent fd90cd50d8
commit ac70f7da96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,3 +68,31 @@ services:
network_mode: "host" network_mode: "host"
restart: unless-stopped restart: unless-stopped
``` ```
Se você precisar fazer alterações na configuração, por exemplo, definir ALWAYS_USE_RELAY=Y, você pode usar o ambiente no docker-compose.yml
```yaml
services:
hbbs:
container_name: hbbs
image: rustdesk/rustdesk-server:latest
environment:
- ALWAYS_USE_RELAY=Y
command: hbbs
volumes:
- ./data:/root
network_mode: "host"
depends_on:
- hbbr
restart: unless-stopped
hbbr:
container_name: hbbr
image: rustdesk/rustdesk-server:latest
command: hbbr
volumes:
- ./data:/root
network_mode: "host"
restart: unless-stopped
```