docker/README.md

54 lines
1.1 KiB
Markdown
Raw Normal View History

2023-02-08 12:33:50 +01:00
# Setup your own WebPlay instance
## Requirements
For run WebPlay as a docker container you need:
* docker
* docker-compose
installed on your server/computer
## Clone this repository
2023-02-11 23:02:09 +01:00
* `git clone https://code.anufrij.de/WebPlay/docker.git webplay`
2023-02-08 12:33:50 +01:00
Change into folder
* `cd webplay`
Run docker-compose build
* `docker-compose build`
### Important
Open `docker-compose.yml` file and edit following lines:
```
volumes:
- ./videos:/webplay/videos
- ./music:/webplay/music
- ./cache:/webplay/cache
- ./uploads:/webplay/uploads
```
as example:
```
volumes:
- /path/to/your/video/files:/webplay/videos
- /path/to/your/audio/files:/webplay/music
- /path/for/cache:/webplay/cache
- /path/for/manual/uploads:/webplay/uploads
```
Optional you can change the client port (8081 by default):
```
ports:
- 8081:80
```
Start your instance
* `docker-compose up` or `docker-compose up -d` for running WebPlay in background
Open your browser and navigate to WebPlay
* `http://YOURSERVERADRESS:8081`
That's it.
Have fun
## Support
Join our Matrix room: <a href="https://matrix.to/#/#WebPlay:matrix.anufrij.de">#WebPlay:matrix.anufrij.de</a>