Giter Site home page Giter Site logo

Comments (4)

thevickypedia avatar thevickypedia commented on July 18, 2024 1

That works as expected, thank you. I'm closing this issue now.

from larynx.

synesthesiam avatar synesthesiam commented on July 18, 2024

You should be able to pass --port <PORT> to the Larynx server command to have it also switch ports internally.

from larynx.

thevickypedia avatar thevickypedia commented on July 18, 2024

I assume you mean the -p flag, which when changed has no effect. Please let me know if that's an incorrect assumption.

docker run \
    -it \
    -p 41823:41823 \
    -e "HOME=${HOME}" \
    -v "$HOME:${HOME}" \
    -v /usr/share/ca-certificates:/usr/share/ca-certificates \
    -v /etc/ssl/certs:/etc/ssl/certs \
    -w "${PWD}" \
    --user "$(id -u):$(id -g)" \
    rhasspy/larynx
Unable to find image 'rhasspy/larynx:latest' locally
latest: Pulling from rhasspy/larynx
bb7d5a84853b: Pull complete
9ad3aa2a5208: Pull complete
db8f0f777fdf: Pull complete
2828d5cf47c7: Pull complete
39cb2e9cc81d: Pull complete
9445398469b3: Pull complete
1bda1dfd0fc2: Pull complete
c68801c3b5ff: Pull complete
Digest: sha256:d3dd3ca31cd28a56efb6c99f83f1dda4ed5255f2687ee747d277c48317d1a3ac
Status: Downloaded newer image for rhasspy/larynx:latest
[2022-04-20 02:04:28 +0000] [1] [INFO] Running on http://0.0.0.0:5002 (CTRL + C to quit)

from larynx.

synesthesiam avatar synesthesiam commented on July 18, 2024

I mean passing a command-line argument to the program inside the container. The HTTP server inside takes a --port <PORT> argument.

docker run \
    -it \
    -p 41823:41823 \
    -e "HOME=${HOME}" \
    -v "$HOME:${HOME}" \
    -v /usr/share/ca-certificates:/usr/share/ca-certificates \
    -v /etc/ssl/certs:/etc/ssl/certs \
    -w "${PWD}" \
    --user "$(id -u):$(id -g)" \
    rhasspy/larynx --port 41823

from larynx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.