mirror of
https://github.com/KwaiVGI/LivePortrait.git
synced 2024-12-23 05:02:38 +00:00
🚀 [feat] Add Docker Compose setup for LivePortrait
- Configured Docker Compose with NVIDIA GPU support and necessary resources. Deployed a Python application, exposing it on port 8890. This allows for easy setup and scalability of the LivePortrait project.
This commit is contained in:
parent
b0ad5dc17c
commit
661fc0eea2
18
docker-compose.yml
Normal file
18
docker-compose.yml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
version: '3.8'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
build: ./docker
|
||||||
|
image: liveportrait:latest
|
||||||
|
volumes:
|
||||||
|
- ./:/LivePortrait
|
||||||
|
ports:
|
||||||
|
- "8890:8890"
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
reservations:
|
||||||
|
devices:
|
||||||
|
- driver: nvidia
|
||||||
|
count: 1
|
||||||
|
capabilities: [ gpu ]
|
||||||
|
tty: true
|
||||||
|
command: python3 app.py
|
Loading…
Reference in New Issue
Block a user