Hi all,
I’ve been working on getting rustdesk installed and running on my home lab. I have a rather long working compose file which I added the rustdesk compose file into. However, if I just copy the compose file into a stand-alone file I get the same error. Here is the file that I’m working with:
rustdesk:
hbbs:
container_name: hbbs
image: rustdesk/rustdesk-server:latest
network_mode: host
restart: unless-stopped
ports:
- 21115:21115
- 21116:21116
- 21116:21116/udp
- 21118:21118
command: hbbs
volumes:
- /home/docker/rustdesk/:/root
depends_on:
- hbbr
hbbr:
container_name: hbbr
image: rustdesk/rustdesk-server:latest
network_mode: host
restart: unless-stopped
ports:
- 21117:21117
- 21119:21119
command: hbbr
volumes:
- /home/docker/rustdesk/:/root
I check the whitespace which is correct. The error I get is:
docker-compose config rust-test.yml
validating /home/ronch/docker-stuff/docker-compose.yml: services.rustdesk additional properties ‘hbbs’, ‘hbbr’ not allowed
I’ve tried all kind of things including the exact compose file from this site. I keep ending up with this exact same error. I’ve tried looking up solutions but they all involve missing or misspelled errors in the file. I don’t think there are any of those since the compose file from github repo gives the same error.
Also, I do know that the code above is missing the “services:” but that is at the start of my larger working compose file.
Any ideas?
Thanks in advance.