From 7ad70b9f01a1f9a532d992488df04c6d8d51c415 Mon Sep 17 00:00:00 2001 From: Wonderfall Date: Sun, 22 Jan 2017 05:23:15 +0100 Subject: [PATCH] rtorrent-flood: fix previous commit, change volume --- rtorrent-flood/Dockerfile | 2 +- rtorrent-flood/config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rtorrent-flood/Dockerfile b/rtorrent-flood/Dockerfile index 26ba274..8eaea2c 100644 --- a/rtorrent-flood/Dockerfile +++ b/rtorrent-flood/Dockerfile @@ -81,7 +81,7 @@ COPY rtorrent.rc /home/torrent/.rtorrent.rc RUN chmod +x /usr/bin/* /etc/s6.d/*/* /etc/s6.d/.s6-svscan/* -VOLUME /data /usr/flood/server/db +VOLUME /data /flood-db EXPOSE 3000 49184 49184/udp diff --git a/rtorrent-flood/config.js b/rtorrent-flood/config.js index 3e6bb89..1948a30 100644 --- a/rtorrent-flood/config.js +++ b/rtorrent-flood/config.js @@ -1,6 +1,6 @@ const CONFIG = { dbCleanInterval: 1000 * 60 * 60, - dbPath: './server/db/', + dbPath: '/flood-db/', floodServerPort: 3000, maxHistoryStates: 30, pollInterval: 1000 * 5,