Alltube lightweight container with multi-arch support
10M+
Reasonable docker build code brings more than 4 times of volume reduction.
Use Nginx instead of Apache, for it is lighter and has better performance.
Updated version, the official image has not been updated for a long time.
More architecture support: x86_64, x86, arm64 and arm32
Support more powerful yt-dlp, stronger usability.
First prepare a domain name and set its DNS to the server to be deployed.
Make sure your server has a docker environment, then execute the following command:
docker run -d --restart always --name alltube \
--env TITLE="My Alltube Site" \
--env CONVERT=ON \
--env STREAM=ON \
--env REMUX=ON \
--env PORT=24488 \
--network host dnomd343/alltube
Or use port forwarding (listen on tcp/80 as default):
docker run -d --restart always --name alltube \
--env TITLE="My Alltube Site" \
--env CONVERT=ON \
--env STREAM=ON \
--env REMUX=ON \
-p 24488:80 dnomd343/alltube
Turning on STREAM may consume a lot of server traffic, and turning on CONVERT and REMUX will cause a large server usage. If your service has no limits and you don't understand their consequences, don't turn them on. Turn them on only when it's just you and your friends for even more functionality.
After the above operations, we have successfully run Alltube on tcp/24488. Next, we need to configure the reverse proxy, take Nginx and the domain name example.com as an example. If you are using Apache or Caddy, etc., they are all similar, and you can find their reverse proxy cases on search engines.
server {
listen 80;
server_name example.com; # replace with your domain
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl http2;
server_name example.com; # replace with your domain
ssl_certificate /path/to/the/certificate; # TLS certificate of your domain
ssl_certificate_key /path/to/the/private/key; # TLS private key of your domain
location / {
proxy_http_version 1.1;
proxy_set_header Connection '';
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://127.0.0.1:24488;
}
}
Finally, remember to execute nginx -s reload to make the configuration take effect.
For more information, please refer to Github Project
Content type
Image
Digest
sha256:cdff2a41a…
Size
77.6 MB
Last updated
over 2 years ago
docker pull dnomd343/alltube