Add docker compose deploy example (#599)

Add a docker compose deploy example.
This commit is contained in:
GC Chen
2023-07-05 13:32:25 +08:00
committed by GitHub
parent 49bc71e4f5
commit 7d9881b9bc

View File

@@ -10,6 +10,18 @@ docker run -d --restart=always -p 25500:25500 tindy2013/subconverter:latest
curl http://localhost:25500/version
# if you see `subconverter vx.x.x backend` then the container is up and running
```
Or run in docker-compose:
```yaml
---
version: '3'
services:
subconverter:
image: tindy2013/subconverter:latest
container_name: subconverter
ports:
- "15051:25500"
restart: always
```
If you want to update `pref` configuration inside the docker, you can use the following command:
```bash