Create a default account from PLAYER_USER/PLAYER_PASSWORD
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6865bbdb72
commit
c699aca5b0
3 files changed
+27
-2
No files matched your search
@@ -19,3 +19,16 @@ Only MP3/M4B files can be played in a browser; convert Audible `.aax`/`.aaxc` bo
|
||||
- Credentials and user data live in `config.json`, `users.json`, `sessions.json`, `progress_users.json` (git-ignored).
|
||||
- Only read-only OpenAudible endpoints are proxied; admin commands and import are blocked.
|
||||
- Traffic is plain HTTP. Use a VPN (e.g. Tailscale) or a TLS reverse proxy for access outside your home network.
|
||||
|
||||
## Docker
|
||||
|
||||
```bash
|
||||
# .env next to docker-compose.yml
|
||||
OPENAUDIBLE_USER=...
|
||||
OPENAUDIBLE_PASSWORD=...
|
||||
PLAYER_USER=nate # default account, created on first start
|
||||
PLAYER_PASSWORD=...
|
||||
```
|
||||
|
||||
`docker compose up -d`, then sign in at port 8080. The default account is only created if it doesn't exist, so changing its password later with
|
||||
`docker exec -it audiobook-player python server.py passwd nate` sticks. Add more people with `adduser`.
|
||||
Reference in new issue
Block a user