1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/rustdesk-server/docker-compose.yml
2024-01-17 16:30:44 +08:00

25 lines
488 B
YAML

version: "3.8"
services:
rustdesk-server:
image: rustdesk/rustdesk-server-s6:latest
ports:
- "21115-21119:21115-21119/tcp"
- "21116:21116/udp"
volumes:
- ./data:/data
environment:
- RELAY=rustdesk.easypi.duckdns.org:21117
- ENCRYPTED_ONLY=1
- DB_URL=/data/db_v2.sqlite3
secrets:
- key_pub
- key_priv
restart: unless-stopped
secrets:
key_pub:
file: data/id_ed25519.pub
key_priv:
file: data/id_ed25519