diff --git a/ecs/Dockerfile b/ecs/Dockerfile index 25c612c..3443d52 100644 --- a/ecs/Dockerfile +++ b/ecs/Dockerfile @@ -10,6 +10,7 @@ RUN git clone https://github.com/processone/ejabberd.git WORKDIR /ejabberd COPY vars.config . RUN echo '{vsn, "'${VERSION}'.0"}.' >>vars.config +COPY config.exs config/ COPY rel/*exs rel/ RUN git checkout ${VERSION/latest/HEAD} \ && mix deps.get \ diff --git a/ecs/config.exs b/ecs/config.exs new file mode 100644 index 0000000..ef479a4 --- /dev/null +++ b/ecs/config.exs @@ -0,0 +1,10 @@ +use Mix.Config + +# This is standard path in the context of ejabberd release +config :ejabberd, + file: "config/ejabberd.yml", + log_path: 'log/ejabberd.log' + +# Customize Mnesia directory: +config :mnesia, + dir: 'database/'