add default config and expose relevant ports

This commit is contained in:
Kegan Myers 2020-06-28 22:40:20 -05:00
parent 5d8f9f3680
commit b945330fc0
3 changed files with 15 additions and 0 deletions

View file

@ -1 +1,2 @@
*
!snapserver.conf

View file

@ -8,3 +8,8 @@ RUN apt-get update && \
apt-get autoremove -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
ADD snapserver.conf /etc/snapserver.conf
EXPOSE 1780
EXPOSE 1705
EXPOSE 1704
CMD snapserver -c /etc/snapserver.conf

9
snapserver.conf Normal file
View file

@ -0,0 +1,9 @@
[server]
user=root
[stream]
codec=pcm
[logging]
sink=stdout