diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000000000000000000000000000000000000..a1dc54f49fd850cdc919ce72264bf75c104b50a7
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,9 @@
+---
+rtorrent:
+    build: rtorrent/
+rutorrent:
+    build: rutorrent/
+    volumes_from:
+        - rtorrent
+    links:
+        - rtorrent
diff --git a/rtorrent/Dockerfile b/rtorrent/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..ab6c935f147357b8cb6d1bd8b00bed87076c0240
--- /dev/null
+++ b/rtorrent/Dockerfile
@@ -0,0 +1,11 @@
+FROM alpine
+RUN apk add --update rtorrent && \
+    rm -rf /var/cache/apk/* /tmp/* /var/tmp/* && \
+    mkdir -p /var/lib/rtorrent /srv/downloads && \
+    chown nobody /var/lib/rtorrent /srv/downloads
+COPY rtorrent.rc /etc/rtorrent.rc
+EXPOSE 5000 51413 51414
+USER nobody
+VOLUME /srv/downloads
+ENV TERM xterm
+CMD /usr/bin/rtorrent -o import=/etc/rtorrent.rc
diff --git a/rtorrent/rtorrent.rc b/rtorrent/rtorrent.rc
new file mode 100644
index 0000000000000000000000000000000000000000..6fd13a89666f8b475c3f07f817ae2c6f907982d8
--- /dev/null
+++ b/rtorrent/rtorrent.rc
@@ -0,0 +1,8 @@
+directory = /srv/downloads
+session = /var/lib/rtorrent
+port_range = 51413-51413
+scgi_port = 0.0.0.0:5000
+use_udp_trackers = yes
+encryption = allow_incoming,require,prefer_plaintext,try_outgoing
+dht = auto
+dht_port = 51414
diff --git a/rutorrent/Dockerfile b/rutorrent/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..646c741b8e7bd787487bc612ab4269017fc8b310
--- /dev/null
+++ b/rutorrent/Dockerfile
@@ -0,0 +1,9 @@
+FROM alpine
+RUN echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/main' >> /etc/apk/repositories && \
+    echo '@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories && \
+    apk add --update rutorrent@testing apache2 php-apache2 && \
+    ln -sf /dev/stdout /var/log/apache2/access.log && \
+    ln -sf /dev/stdout /var/log/apache2/other_vhosts_access.log && \
+    ln -sf /dev/stderr /var/log/apache2/error.log && \
+    rm -rf /var/cache/apk/* /tmp/* /var/tmp/*
+CMD /usr/bin/php /var/www/rutorrent/php/initplugins.php; /usr/sbin/apache2ctl -DFOREGROUND