diff --git a/.env.sample b/.env.sample index c67c620..44811da 100644 --- a/.env.sample +++ b/.env.sample @@ -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 # ################# diff --git a/README.md b/README.md index 0882def..17ee02e 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,23 @@ $ abra app secret insert server-pw v1 $ abra app deploy --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 ` — uncomment the line: + ``` + COMPOSE_FILE="$COMPOSE_FILE:compose.host-ports.yml" + ``` +2. `abra app deploy --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/) 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