Initial import

This commit is contained in:
3wc 2021-08-07 14:11:28 +02:00
commit ffda2fde4d
3 changed files with 78 additions and 0 deletions

8
.env.sample Normal file
View File

@ -0,0 +1,8 @@
TYPE=mumble
DOMAIN=mumble.example.com
## Domain aliases
#EXTRA_DOMAINS=', `www.mumble.example.com`'
LETS_ENCRYPT_ENV=production
ENV=production

31
README.md Normal file
View File

@ -0,0 +1,31 @@
# mumble
TODO
<!-- metadata -->
- **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
<!-- endmetadata -->
## 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

39
compose.yml Normal file
View File

@ -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: