From 15798d9173c693e448d8341361847304f48ce0b6 Mon Sep 17 00:00:00 2001 From: Elouin Date: Sun, 15 Oct 2023 20:06:31 +0200 Subject: [PATCH] add botamusique --- README.md | 3 ++- docker-compose.yml | 28 +++++++++++++++------------- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 728e887..d9ff615 100644 --- a/README.md +++ b/README.md @@ -7,4 +7,5 @@ Mainly to have a version of the mumble server thats newer than the one from the 1. Create `data` directory next to the `docker-compose.yml` 2. Copy the example config file into the newly created `data` directory 3. Adjust the config to your liking -4. `docker compose up -d --build` \ No newline at end of file +4. `docker compose up -d --build` +5. Create `botamusique` directory inside `data` and add config and db for botamusique \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 723600b..677cda8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,16 +14,18 @@ services: mem_limit: 256m memswap_limit: 0 - # botamusique: - # # image: docker.pkg.github.com/flipdot/mumble-docker/botamusique:latest - # build: plugins/botamusique-docker/. - # volumes: - # - ./data/botamusique:/data/ - # depends_on: - # - mumble - # restart: unless-stopped - # # resources - # cpus: 1 - # oom_score_adj: 100 # kill this thing first - # mem_limit: 256m - # memswap_limit: 0 + botamusique: + image: azlux/botamusique + environment: + BAM_CONFIG_file: /data/configuration.ini + BAM_DB: /data/database.db + volumes: + - ./data/botamusique:/data/ + depends_on: + - mumble + restart: unless-stopped + # resources + cpus: 1 + oom_score_adj: 100 # kill this thing first + mem_limit: 256m + memswap_limit: 0