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,