Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 33 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,39 @@ Your Sonerezh instance is available at http://127.0.0.1:8080 :) Make sure Sonere

## Via docker-compose

Coming soon
Include the following in `docker-compose.yml`.

```yaml
version: "2"

services:
sonerezh-db:
image: mariadb
volumes:
- "./mariadb:/var/lib/mysql"
environment:
MYSQL_ROOT_PASSWORD: YOUR_ROOT_PASSWORD
MYSQL_USER: sonerezh
MYSQL_PASSWORD: YOUR_PASSWORD
MYSQL_DATABASE: sonerezh

sonerezh-app:
image: sonerezh/sonerezh:latest
volumes:
- "./music:/music"
- "./thumbnails:/thumbnails"
ports:
- "8080:80"
environment:
SONEREZH_DB_PORT_3306_TCP_ADDR: sonerezh-db
SONEREZH_DB_ENV_MYSQL_USER: sonerezh
SONEREZH_DB_ENV_MYSQL_PASSWORD: YOUR_PASSWORD
SONEREZH_DB_ENV_MYSQL_DATABASE: sonerezh
depends_on:
- sonerezh-db
```

After running `docker-compose up -d` Sonerezh should be available at http://127.0.0.1:8080

# Contributing
You are invited to contribute new features, fixes, or update, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
Expand Down