sysfiles/opt/mumble/docker-compose.yml

59 lines
1.7 KiB
YAML
Raw Normal View History

2022-12-10 01:00:36 +01:00
version: "3.0"
services:
swag:
2024-02-03 17:35:56 +01:00
image: lscr.io/linuxserver/swag:2.8.0
2022-12-10 01:00:36 +01:00
restart: unless-stopped
cap_add:
- NET_ADMIN
environment:
PUID: 1000
PGID: 1000
TZ: Europe/Stockholm
URL: mumble.jilits.se
VALIDATION: http
EMAIL: admin+mumble@jilits.se
STAGING: "false"
volumes:
- swag_config:/config
- swag_etc:/config/etc
ports:
- "8009:80"
healthcheck:
test: ["CMD-SHELL", "[ -f /config/etc/letsencrypt/live/mumble.jilits.se/fullchain.pem ] || exit 1"]
interval: 30s
timeout: 10s
retries: 3
mumble-server:
image: mumblevoip/mumble-server:v1.4.287-2
restart: unless-stopped
environment:
MUMBLE_CONFIG_SSL_CERT: /ssl/letsencrypt/live/mumble.jilits.se/fullchain.pem
MUMBLE_CONFIG_SSL_KEY: /ssl/letsencrypt/live/mumble.jilits.se/privkey.pem
MUMBLE_CONFIG_REGISTER_NAME: The Good Shepherd
MUMBLE_CONFIG_REGISTER_PASSWORD: ${REGISTER_PASSWORD}
MUMBLE_CONFIG_REGISTER_URL: https://jilits.se
MUMBLE_CONFIG_REGISTER_HOSTNAME: mumble.jilits.se
MUMBLE_CONFIG_WELCOMETEXT: "<br /><h2>Welcome to...</h2><h1><b>The Good Shepherd</b>'s</h1><h2>Mumble server.</h2><br />May God bless you in all your endeavors!<br />"
MUMBLE_CONFIG_SERVERPASSWORD: ""
MUMBLE_CONFIG_BANDWIDTH: 128000
MUMBLE_CONFIG_USERS: 50
MUMBLE_CONFIG_ALLOWPING: "true"
MUMBLE_CONFIG_USERNAME: "[0-9a-zA-Z|-|_]+"
hostname: mumble-server
volumes:
- mumble:/data
- swag_etc:/ssl
ports:
- "64738:64738"
- "64738:64738/udp"
depends_on:
swag:
condition: service_healthy
volumes:
mumble:
swag_config:
swag_etc: