Change how docker-compose maps volumes

Only a handful of locations are shared with the docker-compose file,
instead of the entire directory, to prevent build files from being
overwritten by root.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2020-08-19 16:27:31 -07:00
parent cd16b20270
commit 0bdb3e3e81
4 changed files with 7 additions and 7 deletions

View File

@@ -4,7 +4,7 @@ defmodule Omnibot.Contrib.Markov do
require Logger
@default_config [
save_dir: "markov",
save_dir: "data/markov",
order: 2,
save_every: 5 * 60,
ignore: [],

View File

@@ -3,7 +3,7 @@ defmodule Omnibot.Contrib.Wordbot do
alias Omnibot.{Contrib.Wordbot, Irc, Util}
require Logger
@default_config wordbot_source: "words.txt", wordbot_db: "wordbot.db", words_per_round: 300, hours_per_round: 5, ignore: []
@default_config wordbot_source: "data/wordbot/words.txt", wordbot_db: "data/wordbot/wordbot.db", words_per_round: 300, hours_per_round: 5, ignore: []
@impl true
def children(cfg) do