commit ffda2fde4d07b32e9e0da68daf6b3798ad2daa7b Author: 3wc <3wc@doesthisthing.work> Date: Sat Aug 7 14:11:28 2021 +0200 Initial import diff --git a/.env.sample b/.env.sample new file mode 100644 index 0000000..b3b4d5a --- /dev/null +++ b/.env.sample @@ -0,0 +1,8 @@ +TYPE=mumble + +DOMAIN=mumble.example.com + +## Domain aliases +#EXTRA_DOMAINS=', `www.mumble.example.com`' +LETS_ENCRYPT_ENV=production +ENV=production diff --git a/README.md b/README.md new file mode 100644 index 0000000..7eb8127 --- /dev/null +++ b/README.md @@ -0,0 +1,31 @@ +# mumble + +TODO + + + +- **Category**: Apps +- **Status**: ❸🍎 +- **Image**: [phlak/mumble](https://hub.docker.com/repository/docker/phlak/mumble), ❸🍎 3rd party +- **Healthcheck**: No +- **Backups**: No +- **Email**: N/A +- **Tests**: No +- **SSO**: N/A + + + +## Basic usage + +1. Set up Docker Swarm and [`abra`] +2. Deploy [`coop-cloud/traefik`] +3. `abra app new ${REPO_NAME} --secrets` (optionally with `--pass` if you'd like + to save secrets in `pass`) +4. `abra app YOURAPPDOMAIN config` - be sure to change `$DOMAIN` to something that resolves to + your Docker swarm box +5. `abra app YOURAPPDOMAIN deploy` +6. Open the configured domain in your browser to finish set-up + +[`abra`]: https://git.coopcloud.tech/coop-cloud/abra +[`coop-cloud/traefik`]: https://git.coopcloud.tech/coop-cloud/traefik +coop-cloud/traefik diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..44b7b14 --- /dev/null +++ b/compose.yml @@ -0,0 +1,39 @@ +--- +version: "3.8" + +services: + app: + image: phlak/mumble + networks: + - proxy + volumes: + - "mumble_data:/etc/mumble" + deploy: + restart_policy: + condition: on-failure + labels: + - "traefik.enable=true" + # note(3wc) see https://github.com/PHLAK/docker-mumble/issues/15 + - "traefik.tcp.routers.${STACK_NAME}.entrypoints=mumble" + - "traefik.tcp.routers.${STACK_NAME}.service=${STACK_NAME}-tcp-service" + - "traefik.tcp.routers.${STACK_NAME}.rule=HostSNI(`*`)" + - "traefik.tcp.routers.${STACK_NAME}.tls.passthrough=true" + - "traefik.tcp.services.${STACK_NAME}-tcp-service.loadbalancer.server.port=64738" + - "traefik.udp.routers.${STACK_NAME}.entrypoints=mumble-udp" + - "traefik.udp.routers.${STACK_NAME}.service=${STACK_NAME}-udp-service" + - "traefik.udp.services.${STACK_NAME}-udp-service.loadbalancer.server.port=64738" + # note(3wc): this image doesn't have curl, and wget doesn't seem to like + # testing the TCP port + #healthcheck + # test: ["CMD", "curl", "-f", "http://localhost"] + # interval: 30s + # timeout: 10s + # retries: 10 + # start_period: 1m + +networks: + proxy: + external: true + +volumes: + mumble_data: