Skip to content

Commit

Permalink
add docker to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hrfee committed Aug 3, 2020
1 parent 7b23545 commit 5329f02
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions README.md
Expand Up @@ -2,10 +2,21 @@

A rewrite of [jellyfin-accounts](https://github.com/hrfee/jellyfin-accounts) in Go. It has feature parity with the Python version, but should be faster.

#### Install/usage

#### Install
Grab an archive from the release section for your platform, and extract `jfa-go` and `data` to the same directory.
Run the executable to start.

For [docker](https://hub.docker.com/repository/docker/hrfee/jfa-go), run:
```
docker create \
--name "jfa-go" \ # Whatever you want to name it
-p 8056:8056 \
-v /path/to/.config/jfa-go:/data \ # Equivalent of ~/.jf-accounts
-v /path/to/jellyfin:/jf \ # Path to jellyfin config directory
-v /etc/localtime:/etc/localtime:ro \ # Makes sure time is correct
hrfee/jfa-go
```
#### Usage
```
Usage of ./jfa-go:
-config string
Expand Down

0 comments on commit 5329f02

Please sign in to comment.