Replies: 1 comment 1 reply
-
|
OK, sorry, here is the yaml code pasted to show the formatting. This code is included in my mush larger docker-compose.yml file so, yes, it's missing the "services" line. All the other containers are working just fine. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I've been working of getting rustdesk installed and running on my home lab. I have a rather long 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 ------------------------------------------------------------
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 error. I've tried looking up solutions but they all involve missing of misspelled errors in the file. I don't think there are any of those since the file from here gives the same error.
Any ideas?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions