fda561084f8d68e25e98a06af32b57ff04e0d82c
dw0
w0bm in docker
This repository contains a working solution for easy deployment of the legacy w0bm software
To make use of this you can just pull this repo and build the image and or run the compose
You still need to initialize the software and the database manually if you do not have a already existing initialized database.
First of all put a .webm file named 1.webm in w0bm-data/b
docker exec -it w0bm-legacy /bin/bash
php7.1 artisan migrate
php7.1 artisan db:seed
php7.1 artisan tags
Now visit http://localhost:8090
To get upload working do this
$ git clone https://git.lat/w0bm/w0bm.git
$ cd w0bm
$ mkdir public/thumbs
$ mkdir public/b
$ mkdir public/thumbs/beta
$ mkdir public/thumbs/blurred
docker exec -it w0bm /bin/bash
root@703c9472fed5:/opt/w0bm/public# chmod -R 777 thumbs/
root@703c9472fed5:/opt/w0bm/public# chmod -R 777 b
inside the container, it applied to the mount
Reverse Proxy
nginx
url = foo.bar
server {
server_name $url;
…
location / {
proxy_pass http://localhost:8090;
proxy_set_header Host $url;
proxy_set_header X-Forwarded-Proto $scheme;
sub_filter 'http://' 'https://';
sub_filter_types *;
sub_filter_once off;
}
}
Description
Languages
Dockerfile
100%