Skip to content

Commit 62fa6bf

Browse files
garlic-hubmxpv
authored andcommitted
Update readme to reflect new docker image and better compose support
1 parent e23d76c commit 62fa6bf

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

README.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ port = 8080
7979

8080
[storage]
8181
[storage.local]
82-
data_dir = "/data/podsync/"
82+
# Don't change if you run podsync via docker
83+
data_dir = "/app/data/"
8384

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

129130
### Run via Docker:
130131
```
131-
$ docker pull mxpv/podsync:latest
132+
$ docker pull ghcr.io/mxpv/podsync:latest
132133
$ docker run \
133134
-p 8080:8080 \
134135
-v $(pwd)/data:/app/data/ \
135136
-v $(pwd)/config.toml:/app/config.toml \
136-
mxpv/podsync:latest
137+
ghcr.io/mxpv/podsync:latest
137138
```
138139

139140
### Run via Docker Compose:
140141
```
141-
$ docker-compose up
142+
$ cat docker-compose.yml
143+
services:
144+
podsync:
145+
image: ghcr.io/mxpv/podsync
146+
container_name: podsync
147+
volumes:
148+
- ./data:/app/data/
149+
- ./config.toml:/app/config.toml
150+
ports:
151+
- 8080:8080
152+
153+
$ docker compose up
142154
```
143155

144156
## How to make a release

0 commit comments

Comments
 (0)