mirror of
https://github.com/rakuri255/UltraSinger.git
synced 2026-11-20 13:07:52 +09:00
Merge pull request #153 from binarygeek119/main
added docker-compose.yml file
This commit is contained in:
5 files changed
+57
-1
No files matched your search
@@ -283,7 +283,32 @@ run this command to build the docker
|
||||
`docker build -t ultrasinger .` make sure to include the "." at the end
|
||||
let this run till complete.
|
||||
then run this command
|
||||
`docker run --gpus all -it --name UltraSinger -v $(pwd)/src/output:/app/src/output ultrasinger`
|
||||
`docker run --gpus all -it --name UltraSinger -v $pwd/src/output:/app/src/output ultrasinger`
|
||||
|
||||
Docker-Compose
|
||||
there are two files that you can pick from.
|
||||
cd into `docker-compose` folder and then cd into `Nvidia` or `NonGPU`
|
||||
Run `docker-compose up` to download and setup
|
||||
|
||||
Nvidia is for if you have a nvidia gpu to use with UltraSinger.
|
||||
NonGPU is for if you wish to only use the CPU for UltraSinger.
|
||||
|
||||
Output
|
||||
by default the docker-compose will setup the output folder as `/output` inside the docker.
|
||||
on the host machine it will map to the folder with the `docker-compose.yml` file under `output`
|
||||
you may chnage this by editing the `docker-compose.yml`
|
||||
|
||||
to edit the file.
|
||||
use any text editor you wish. i would recoment nano.
|
||||
run `nano docker-compose.yml`
|
||||
then change this line
|
||||
` - ./output:/app/UltraSinger/src/output`
|
||||
to anything you line for on your host machine.
|
||||
` - /yourfolderpathhere:/app/UltraSinger/src/output`
|
||||
sample
|
||||
` - /mnt/user/appdata/UltraSinger:/output`
|
||||
note the blank space before the `-`
|
||||
formating is important here in this file.
|
||||
|
||||
this will create and drop you into the docker.
|
||||
now run this command.
|
||||
@@ -293,6 +318,7 @@ or
|
||||
to use mp3's in the folder you git cloned you must place all songs you like in UltraSinger/src/output.
|
||||
this will be the place for youtube links aswell.
|
||||
|
||||
|
||||
to quit the docker just type exit.
|
||||
|
||||
to reenter docker run this command
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
version: "3.9"
|
||||
services:
|
||||
ultrasinger:
|
||||
stdin_open: true
|
||||
tty: true
|
||||
container_name: UltraSinger
|
||||
volumes:
|
||||
- ./output:/app/UltraSinger/src/output
|
||||
image: rakuri255/ultrasinger:latest
|
||||
@@ -0,0 +1 @@
|
||||
this file is here to save folder path
|
||||
@@ -0,0 +1,18 @@
|
||||
---
|
||||
version: "3.9"
|
||||
services:
|
||||
ultrasinger:
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: all
|
||||
capabilities:
|
||||
- gpu
|
||||
stdin_open: true
|
||||
tty: true
|
||||
container_name: UltraSinger
|
||||
volumes:
|
||||
- ./output:/app/UltraSinger/src/output
|
||||
image: rakuri255/ultrasinger:latest
|
||||
@@ -0,0 +1 @@
|
||||
this file is here to save folder path
|
||||
Reference in new issue
Block a user