Conversation
| - "8890:8890" # TCP port for client connections | ||
| - "8891:8891" # HTTP port for metrics | ||
| - "8809:8809/udp" # UDP port for remote registration | ||
| - "49152-51200:49152-51200/udp" # UDP relay ports |
There was a problem hiding this comment.
Last time I've checked, exposing ranges could get really slow, and the alternative was to use the host network driver instead. Will check again!
| @@ -0,0 +1,14 @@ | |||
| version: '3.8' | |||
There was a problem hiding this comment.
Docker Compose v5.0.1 complains that this is an obsolete attribute
|
@albertok thanks for the PR! I very much agree that it is best to have a compose example too! The current version I think is a bit brittle, because Docker takes a long time to bind and expose the specified 2+2048 ports, and fails if one of them is already in use. However, these wouldn't matter much when deploying to a dedicated host machine, since that won't have those ports in use already ( ideally ), and once it starts, it's good. A workaround for both of the above is to use Any thoughts on how to handle this? My guess is to add a line with the workaround, but as a comment, e.g. Also just created #72, will highlight all our compose experience there too 😄 |
📓 Description
Docker compose file for easy self hosting.
☑️ Checklist