|
@@ -0,0 +1,35 @@
|
|
1
|
+# DFBnc Dockerfile
|
|
2
|
+
|
|
3
|
+This is a dockerised version of [DFBnc](https://github.com/ShaneMcC/DFBnc/).
|
|
4
|
+
|
|
5
|
+## Usage
|
|
6
|
+
|
|
7
|
+Create a named volume to persist data:
|
|
8
|
+
|
|
9
|
+```bash
|
|
10
|
+docker volume create --name dfbnc-data
|
|
11
|
+```
|
|
12
|
+
|
|
13
|
+Pull the image for the desired version of DFBnc:
|
|
14
|
+
|
|
15
|
+```bash
|
|
16
|
+docker pull csmith/dfbnc:0.3
|
|
17
|
+```
|
|
18
|
+
|
|
19
|
+Start a container, exposing ports as needed:
|
|
20
|
+
|
|
21
|
+```bash
|
|
22
|
+docker run -d --name dfbnc \
|
|
23
|
+ --restart always \
|
|
24
|
+ -p 33263 \
|
|
25
|
+ -v dfbnc-data:/var/lib/dfbnc \
|
|
26
|
+ csmith/dfbnc:0.3
|
|
27
|
+```
|
|
28
|
+
|
|
29
|
+The container exposes these ports:
|
|
30
|
+
|
|
31
|
+ * 33262 (unencrypted IRC connection)
|
|
32
|
+ * 33263 (encrypted IRC connection)
|
|
33
|
+
|
|
34
|
+To enable encrypted connections you will need to follow the instructions
|
|
35
|
+on the [DFBnc wiki](https://github.com/ShaneMcC/DFBnc/wiki/SSL-Listen-Hosts).
|