[mirotalk] - add docker-compose.template.yml

This commit is contained in:
Miroslav Pejic
2023-03-08 15:38:27 +01:00
parent edb39b1949
commit 673af9ef45
4 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -16,4 +16,5 @@ package-lock.json
# personal env
.env
docker-push.sh
docker-push.sh
docker-compose.yml
+2
View File
@@ -149,6 +149,8 @@ $ npm start
```bash
# copy .env.template to .env (edit it according to your needs)
$ cp .env.template .env
# Copy docker-compose.template.yml in docker-compose.yml (edit it according to your needs)
$ cp docker-compose.template.yml docker-compose.yml
# Get official image from Docker Hub
$ docker pull mirotalk/p2p:latest
# create and start containers
@@ -10,8 +10,6 @@ services:
hostname: mirotalk
volumes:
- .env:/src/.env:ro
- ./app/:/src/app/:ro
- ./public/:/src/public/:ro
restart: unless-stopped
ports:
- '3000:3000'
+2
View File
@@ -72,6 +72,8 @@ $ sudo apt install docker-compose
# Copy .env.template to .env and edit it if needed
$ cp .env.template .env
# Copy docker-compose.template.yml in docker-compose.yml (edit it according to your needs)
$ cp docker-compose.template.yml docker-compose.yml
# Get official image from Docker Hub
$ docker pull mirotalk/p2p:latest
# Create and start containers