remove no longer needed updating readme and compose
This commit is contained in:
30
README.md
30
README.md
@@ -12,33 +12,21 @@ 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`
|
||||
`php artisan migrate`
|
||||
|
||||
`php7.1 artisan db:seed`
|
||||
`php artisan db:seed`
|
||||
|
||||
`php7.1 artisan tags`
|
||||
`php artisan tags`
|
||||
|
||||
Now visit http://localhost:8090
|
||||
Now visit http://localhost:8080
|
||||
|
||||
To get upload working do this
|
||||
# Troubleshooting
|
||||
|
||||
```
|
||||
$ git clone https://git.lat/w0bm/w0bm.git
|
||||
$ cd w0bm
|
||||
$ mkdir public/thumbs
|
||||
$ mkdir public/b
|
||||
$ mkdir public/thumbs/beta
|
||||
$ mkdir public/thumbs/blurred
|
||||
```
|
||||
On the host do this to fix
|
||||
|
||||
`docker exec -it w0bm /bin/bash`
|
||||
- Uploads
|
||||
- `sudo chown -R 1000:1000 w0bm-data`
|
||||
|
||||
```
|
||||
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
|
||||
|
||||
@@ -51,7 +39,7 @@ server {
|
||||
server_name $url;
|
||||
…
|
||||
location / {
|
||||
proxy_pass http://localhost:8090;
|
||||
proxy_pass http://localhost:8080;
|
||||
proxy_set_header Host $url;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
sub_filter 'http://' 'https://';
|
||||
|
Reference in New Issue
Block a user