Remove docker support

This commit is contained in:
timendum 2025-01-07 16:09:16 +01:00
parent 0b168a372b
commit 11ef3bb61a
3 changed files with 0 additions and 51 deletions

View file

@ -1,31 +0,0 @@
FROM debian:wheezy
RUN apt-get update && apt-get install -y --no-install-recommends\
git python libav-tools apache2 php5 curl ca-certificates
RUN rm -rf /var/lib/apt/lists/*
#Install youtube-dl
RUN curl https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl && chmod a+x /usr/local/bin/youtube-dl
WORKDIR /
RUN mkdir /www
WORKDIR /www
RUN git clone https://github.com/p1rox/youtube-dl-webui.git youtube-dl
WORKDIR /www/youtube-dl
RUN rm -rf .git README.md img .gitignore docker
WORKDIR /
RUN chmod -R 755 /www && chown -R www-data:www-data /www
COPY ./docker/vhost.conf /etc/apache2/conf.d/extra/vhost.conf
RUN ln -sf /dev/stdout /var/log/apache2/youtube-dl_access.log
RUN ln -sf /dev/stderr /var/log/apache2/youtube-dl_error.log
EXPOSE 80
VOLUME /www/youtube-dl/downloads
CMD youtube-dl -U && /usr/sbin/apache2ctl -D FOREGROUND

View file

@ -1,9 +0,0 @@
# Dockerize Youtube-dl-WebUI
Build your own image :
`docker build -t ytdlwui .`
Run it :
`docker run -d -p 8080:80 -v /path/to/video/folder:/www/youtube-dl/downloads ytdlwui `

View file

@ -1,11 +0,0 @@
<VirtualHost *:80>
DocumentRoot /www/youtube-dl
<Directory /www/youtube-dl>
# enable the .htaccess rewrites
AllowOverride All
Order allow,deny
Allow from All
</Directory>
ErrorLog /var/log/apache2/youtube-dl_error.log
CustomLog /var/log/apache2/youtube-dl_access.log combined
</VirtualHost>