[mirotalk] - rb
This commit is contained in:
@@ -192,9 +192,9 @@ $ cp docker-compose.template.yml docker-compose.yml
|
|||||||
# Get official image from Docker Hub
|
# Get official image from Docker Hub
|
||||||
$ docker pull mirotalk/p2p:latest
|
$ docker pull mirotalk/p2p:latest
|
||||||
# create and start containers
|
# create and start containers
|
||||||
$ docker compose up # -d
|
$ docker-compose up # -d
|
||||||
# to stop and remove resources
|
# to stop and remove resources
|
||||||
$ docker compose down
|
$ docker-compose down
|
||||||
```
|
```
|
||||||
|
|
||||||
- Open [http://localhost:3000](http://localhost:3000) in your browser.
|
- Open [http://localhost:3000](http://localhost:3000) in your browser.
|
||||||
|
|||||||
+2
-2
@@ -45,7 +45,7 @@ Ensure `turnserver.conf` and `docker-compose.yml` are in the same directory.
|
|||||||
Run:
|
Run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker compose up -d
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
### 5. Check Logs (Optional)
|
### 5. Check Logs (Optional)
|
||||||
@@ -53,7 +53,7 @@ docker compose up -d
|
|||||||
Check logs to verify the server:
|
Check logs to verify the server:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker compose logs -f <service_name>
|
docker-compose logs -f <service_name>
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
+2
-2
@@ -101,7 +101,7 @@ if [ "$answer" != "${answer#[Yy]}" ] ;then
|
|||||||
else
|
else
|
||||||
log "Build image from source"
|
log "Build image from source"
|
||||||
|
|
||||||
docker compose build
|
docker-compose build
|
||||||
|
|
||||||
|
|
||||||
log "Remove old and unused docker images"
|
log "Remove old and unused docker images"
|
||||||
@@ -111,7 +111,7 @@ if [ "$answer" != "${answer#[Yy]}" ] ;then
|
|||||||
|
|
||||||
log "Start containers"
|
log "Start containers"
|
||||||
|
|
||||||
docker compose up #-d
|
docker-compose up #-d
|
||||||
else
|
else
|
||||||
log "Install dependencies"
|
log "Install dependencies"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user