aboutsummaryrefslogtreecommitdiffstats
path: root/bin/run
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2020-12-30 21:16:50 -0600
committerJP Dillingham <jpdillingham@gmail.com>2020-12-30 21:16:50 -0600
commit8f1068ac3135bcccf09374bc787ef22049b43461 (patch)
tree5d80a254f5ee7b7c6b3956f6a7307591bc5a93e2 /bin/run
parentec4a85e4e8b64a0ae91c494e3c8ef520f0a8b8c3 (diff)
downloadslskd-8f1068ac3135bcccf09374bc787ef22049b43461.tar.gz
copy files from example
Diffstat (limited to 'bin/run')
-rw-r--r--bin/run14
1 files changed, 14 insertions, 0 deletions
diff --git a/bin/run b/bin/run
new file mode 100644
index 00000000..24d81890
--- /dev/null
+++ b/bin/run
@@ -0,0 +1,14 @@
+docker run -i \
+ -p 5000:5000 \
+ -p 50000:50000 \
+ -v $SLSK_OUTPUT_DIR:/var/slsk/download \
+ -v $SLSK_SHARED_DIR:/var/slsk/shared \
+ -e "SLSK_USERNAME=$SLSK_USERNAME" \
+ -e "SLSK_PASSWORD=$SLSK_PASSWORD" \
+ -e "SLSK_LISTEN_PORT=50000" \
+ -e "SLSK_ENABLE_DNET=true" \
+ -e "SLSK_DNET_CHILD_LIMIT=10" \
+ -e "SLSK_DIAGNOSTIC=Info" \
+ -e "SLSK_CONNECT_TIMEOUT=5000" \
+ -e "SLSK_INACTIVITY_TIMEOUT=15000" \
+ jpdillingham/slsk-web-example:latest \ No newline at end of file