revert back to debian 10
Signed-off-by: Lev Rusanov <30170278+JDM170@users.noreply.github.com>
This commit is contained in:
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@@ -0,0 +1 @@
|
||||
*.sh text eol=lf
|
||||
11
Dockerfile
11
Dockerfile
@@ -1,8 +1,9 @@
|
||||
FROM debian:12
|
||||
FROM debian:10
|
||||
|
||||
RUN apt-get update && apt-get install -y minidlna minissdpd net-tools
|
||||
RUN sed -i s/deb.debian.org/archive.debian.org/g /etc/apt/sources.list && \
|
||||
apt update && \
|
||||
apt install -y minidlna minissdpd net-tools
|
||||
|
||||
COPY files/start.sh /opt/start.sh
|
||||
RUN chmod 755 /opt/start.sh
|
||||
COPY --chmod=755 files/start.sh /opt/start.sh
|
||||
|
||||
ENTRYPOINT /opt/start.sh
|
||||
ENTRYPOINT ["/opt/start.sh"]
|
||||
|
||||
@@ -1,17 +1,19 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
minidlna:
|
||||
image: croc/minidlna
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
# image: croc/minidlna
|
||||
container_name: docker-minidlna
|
||||
network_mode: host
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- SRVNAME=docker-minidlna
|
||||
- PORT=8205
|
||||
# specify an UPNP interface if you have multiple network interface
|
||||
#- SSDP_IFACE=eth0
|
||||
# - SSDP_IFACE=eth0
|
||||
- FOLDERS=/media/mp3,/media/movies,/media/tv_series
|
||||
volumes:
|
||||
- '/mnt/data/pub/movies:/media/movies'
|
||||
- '/mnt/data/pub/tv_series:/media/tv_series'
|
||||
- '/mnt/data/pub/mp3:/media/mp3'
|
||||
network_mode: 'host'
|
||||
restart: always
|
||||
- /mnt/data/pub/movies:/media/movies
|
||||
- /mnt/data/pub/tv_series:/media/tv_series
|
||||
- /mnt/data/pub/mp3:/media/mp3
|
||||
|
||||
Reference in New Issue
Block a user