Merge pull request 'Add compose.host-ports.yml' (#4)

Reviewed on: https://git.coopcloud.tech/coop-cloud/mumble/pulls/4
This commit is contained in:
Amras
2026-05-01 10:57:41 +00:00
3 changed files with 34 additions and 0 deletions

View File

@ -24,6 +24,9 @@ COMPOSE_FILE="compose.yml"
## SuperUser Password
SECRET_SUPERUSER_PASSWORD_VERSION=v1
## Host-port Mode
#COMPOSE_FILE="$COMPOSE_FILE:compose.host-ports.yml"
#################
# MUMBLE CONFIG #
#################

View File

@ -68,6 +68,23 @@ $ abra app secret insert <YOURAPPDOMAIN> server-pw v1
$ abra app deploy <YOURAPPDOMAIN> --force
```
## Host-Port Mode
Instead of modifying the Traefik config,
you can alternatively deploy Mumble with compose.host-ports.yml,
and it will bind directly to the host server port 64738,
bypassing Traefik.
This is not recommended for multinode setups, since the client would have to connect directly to whichever node is running the app container, but this does work when deployed to a single server.
With this compose file, you can deploy mumble without any changes to the Traefik config:
1. `abra app config <YOURAPPDOMAIN>` — uncomment the line:
```
COMPOSE_FILE="$COMPOSE_FILE:compose.host-ports.yml"
```
2. `abra app deploy <YOURAPPDOMAIN> --force`
[`abra`]: https://git.coopcloud.tech/coop-cloud/abra
[`coop-cloud/traefik`]: https://git.coopcloud.tech/coop-cloud/traefik
[Mumble client]:(https://www.mumble.info/downloads/)

14
compose.host-ports.yml Normal file
View File

@ -0,0 +1,14 @@
---
version: "3.8"
services:
app:
ports:
- target: 64738
published: 64738
protocol: tcp
mode: host
- target: 64738
published: 64738
protocol: udp
mode: host