diff --git a/.env.sample b/.env.sample index dc1c153..9f77a9d 100644 --- a/.env.sample +++ b/.env.sample @@ -12,3 +12,6 @@ COMPOSE_FILE="compose.yml" ## Web client #COMPOSE_FILE="$COMPOSE_FILE:compose.mumbleweb.yml" + +## Host-port mode +#COMPOSE_FILE="$COMPOSE_FILE:compose.host-ports.yml" diff --git a/README.md b/README.md index 91ad78a..760a1bd 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,27 @@ overlay. To enable it: 2. `abra app deploy --force` 3. Open `https://` in a browser + +## 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 ` — uncomment the line: + ``` + COMPOSE_FILE="$COMPOSE_FILE:compose.host-ports.yml" + ``` +2. `abra app deploy ` + + + + [`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/) diff --git a/compose.host-ports.yml b/compose.host-ports.yml new file mode 100644 index 0000000..2f6bd89 --- /dev/null +++ b/compose.host-ports.yml @@ -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