Files
dw0/README.md

50 lines
1008 B
Markdown

# dw0
w0bm in docker
This repository contains a working solution for easy deployment of the legacy [w0bm](https://git.lat/w0bm/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`
`php artisan migrate`
`php artisan db:seed`
`php artisan tags`
Now visit http://localhost:8080
# Troubleshooting
On the host do this to fix
- Uploads
- `sudo chown -R 1000:1000 w0bm-data`
# Reverse Proxy
nginx
`url = foo.bar`
```
server {
server_name $url;
location / {
proxy_pass http://localhost:8080;
proxy_set_header Host $url;
proxy_set_header X-Forwarded-Proto $scheme;
sub_filter 'http://' 'https://';
sub_filter_types *;
sub_filter_once off;
}
}
```