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:
@ -24,6 +24,9 @@ COMPOSE_FILE="compose.yml"
|
|||||||
## SuperUser Password
|
## SuperUser Password
|
||||||
SECRET_SUPERUSER_PASSWORD_VERSION=v1
|
SECRET_SUPERUSER_PASSWORD_VERSION=v1
|
||||||
|
|
||||||
|
## Host-port Mode
|
||||||
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.host-ports.yml"
|
||||||
|
|
||||||
#################
|
#################
|
||||||
# MUMBLE CONFIG #
|
# MUMBLE CONFIG #
|
||||||
#################
|
#################
|
||||||
|
|||||||
17
README.md
17
README.md
@ -68,6 +68,23 @@ $ abra app secret insert <YOURAPPDOMAIN> server-pw v1
|
|||||||
$ abra app deploy <YOURAPPDOMAIN> --force
|
$ 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
|
[`abra`]: https://git.coopcloud.tech/coop-cloud/abra
|
||||||
[`coop-cloud/traefik`]: https://git.coopcloud.tech/coop-cloud/traefik
|
[`coop-cloud/traefik`]: https://git.coopcloud.tech/coop-cloud/traefik
|
||||||
[Mumble client]:(https://www.mumble.info/downloads/)
|
[Mumble client]:(https://www.mumble.info/downloads/)
|
||||||
|
|||||||
14
compose.host-ports.yml
Normal file
14
compose.host-ports.yml
Normal 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
|
||||||
Reference in New Issue
Block a user