rtorrent-flood: fix previous commit, change volume

This commit is contained in:
Wonderfall 2017-01-22 05:23:15 +01:00
parent 0c396e9d96
commit 7ad70b9f01
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ COPY rtorrent.rc /home/torrent/.rtorrent.rc
RUN chmod +x /usr/bin/* /etc/s6.d/*/* /etc/s6.d/.s6-svscan/* 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 EXPOSE 3000 49184 49184/udp

View File

@ -1,6 +1,6 @@
const CONFIG = { const CONFIG = {
dbCleanInterval: 1000 * 60 * 60, dbCleanInterval: 1000 * 60 * 60,
dbPath: './server/db/', dbPath: '/flood-db/',
floodServerPort: 3000, floodServerPort: 3000,
maxHistoryStates: 30, maxHistoryStates: 30,
pollInterval: 1000 * 5, pollInterval: 1000 * 5,