Skip to content

Commit 2174468

Browse files
committed
Added the volume to allow for persistent data of the .raven directory
1 parent ed64d95 commit 2174468

File tree

3 files changed

+402
-2
lines changed

3 files changed

+402
-2
lines changed

Dockerfile

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM ubuntu:20.04
33
RUN apt-get update && apt-get upgrade -y
44

55
RUN apt-get update && apt-get install -y \
6-
jq unzip tar fail2ban curl wget gawk sed vim && \
6+
jq unzip tar fail2ban curl wget gawk sed vim tree && \
77
rm -rf /var/lib/apt/lists/*
88

99
RUN useradd -ms /bin/bash kingofthenorth
@@ -18,11 +18,14 @@ RUN chmod +x /usr/local/bin/raven_init &&\
1818
RUN chmod +x /usr/local/bin/raven_status
1919
RUN rm -f /usr/local/bin/raven_init
2020

21+
22+
VOLUME [ "/home/kingofthenorth/.raven" ]
23+
RUN chown -R kingofthenorth:kingofthenorth /home/kingofthenorth/.raven
2124
COPY ./files/raven.conf /home/kingofthenorth/.raven
2225

2326
USER kingofthenorth
2427
WORKDIR /home/kingofthenorth
2528

2629
EXPOSE 8767
2730

28-
ENTRYPOINT ravend
31+
ENTRYPOINT ravend

files/raven.conf

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# rpcuser=rpcuser #optional
2+
# rpcpassword=SETYOURPASSWORDHERE #optional
3+
# rpcallowip=127.0.0.1 #optional
4+
# prune=42000 #optional
15
server=1
26
listen=1
37
upnp=1

0 commit comments

Comments
 (0)