Add Mumble service
This commit is contained in:
parent
fb145dd0aa
commit
d8891d4e01
|
@ -0,0 +1,17 @@
|
|||
[Unit]
|
||||
Description=Mumble (Compose Service)
|
||||
Requires=docker.service
|
||||
After=docker.service
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=/opt/mumble
|
||||
ExecStart=/usr/bin/docker-compose --project-name mumble up
|
||||
ExecStop=/usr/bin/docker-compose --project-name mumble down
|
||||
TimeoutStartSec=0
|
||||
Restart=on-failure
|
||||
StartLimitIntervalSec=60
|
||||
StartLimitBurst=3
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
@ -0,0 +1,60 @@
|
|||
version: "3.0"
|
||||
|
||||
services:
|
||||
swag:
|
||||
container_name: swag
|
||||
image: lscr.io/linuxserver/swag:1.32.0
|
||||
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:
|
||||
container_name: 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:
|
Loading…
Reference in New Issue