Skip to content

Commit

Permalink
use my own domain
Browse files Browse the repository at this point in the history
  • Loading branch information
mmguero committed Nov 30, 2023
1 parent 64ce692 commit 31695d4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ options:

### Docker

Alternately, a [Dockerfile](./docker/Dockerfile) is provided to allow you to run monkeyplug in Docker. You can pull either the `ghcr.io/mmguero/monkeyplug:small` or `ghcr.io/mmguero/monkeyplug:large` Docker images, or build with [`build_docker.sh`](./docker/build_docker.sh), then run [`monkeyplug-docker.sh`](./docker/monkeyplug-docker.sh) inside the directory where your audio files are located.
Alternately, a [Dockerfile](./docker/Dockerfile) is provided to allow you to run monkeyplug in Docker. You can pull either the `oci.guero.top/monkeyplug:small` or `oci.guero.top/monkeyplug:large` Docker images, or build with [`build_docker.sh`](./docker/build_docker.sh), then run [`monkeyplug-docker.sh`](./docker/monkeyplug-docker.sh) inside the directory where your audio files are located.

## Contributing

Expand Down
4 changes: 2 additions & 2 deletions docker/build_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ export SCRIPT_PATH="$($DIRNAME $($REALPATH -e "${BASH_SOURCE[0]}"))"
pushd "$SCRIPT_PATH"/.. >/dev/null 2>&1

if [[ -n "$VOSK_MODEL_URL" ]]; then
$ENGINE build -f docker/Dockerfile --build-arg VOSK_MODEL_URL="$VOSK_MODEL_URL" -t ghcr.io/mmguero/monkeyplug .
$ENGINE build -f docker/Dockerfile --build-arg VOSK_MODEL_URL="$VOSK_MODEL_URL" -t oci.guero.top/monkeyplug .
else
$ENGINE build -f docker/Dockerfile -t ghcr.io/mmguero/monkeyplug:small .
$ENGINE build -f docker/Dockerfile -t oci.guero.top/monkeyplug:small .
fi

popd >/dev/null 2>&1
2 changes: 1 addition & 1 deletion docker/monkeyplug-docker.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

export MONKEYPLUG_IMAGE="${MONKEYPLUG_IMAGE:-ghcr.io/mmguero/monkeyplug:small}"
export MONKEYPLUG_IMAGE="${MONKEYPLUG_IMAGE:-oci.guero.top/monkeyplug:small}"
ENGINE="${CONTAINER_ENGINE:-docker}"
if [[ "$ENGINE" == "podman" ]]; then
CONTAINER_PUID=0
Expand Down

0 comments on commit 31695d4

Please sign in to comment.