Skip to content

Commit

Permalink
Update readme to reflect new docker image and better compose support
Browse files Browse the repository at this point in the history
  • Loading branch information
garlic-hub committed Sep 10, 2024
1 parent 0dfc8f1 commit 8a099a3
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ port = 8080

[storage]
[storage.local]
data_dir = "/data/podsync/"
# Don't change if you run podsync via docker
data_dir = "/app/data/"

[tokens]
youtube = "PASTE YOUR API KEY HERE"
Expand Down Expand Up @@ -128,17 +129,28 @@ Use the editor [Visual Studio Code](https://code.visualstudio.com/) and install

### Run via Docker:
```
$ docker pull mxpv/podsync:latest
$ docker pull ghcr.io/mxpv/podsync:latest
$ docker run \
-p 8080:8080 \
-v $(pwd)/data:/app/data/ \
-v $(pwd)/config.toml:/app/config.toml \
mxpv/podsync:latest
ghcr.io/mxpv/podsync:latest
```

### Run via Docker Compose:
```
$ docker-compose up
$ cat docker-compose.yml
services:
podsync:
image: ghcr.io/mxpv/podsync
container_name: podsync
volumes:
- $(pwd)/data:/app/data/
- $(pwd)/config.toml:/app/config.toml
ports:
- 8080:8080
$ docker compose up
```

## How to make a release
Expand Down

0 comments on commit 8a099a3

Please sign in to comment.