mirror of
https://github.com/MetaCubeX/subconverter.git
synced 2025-11-04 18:19:42 +08:00
Add docker compose deploy example (#599)
Add a docker compose deploy example.
This commit is contained in:
parent
49bc71e4f5
commit
7d9881b9bc
@ -10,6 +10,18 @@ docker run -d --restart=always -p 25500:25500 tindy2013/subconverter:latest
|
|||||||
curl http://localhost:25500/version
|
curl http://localhost:25500/version
|
||||||
# if you see `subconverter vx.x.x backend` then the container is up and running
|
# 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:
|
If you want to update `pref` configuration inside the docker, you can use the following command:
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user