Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I change ports? #38

Closed
Lippiece opened this issue Apr 2, 2024 · 1 comment
Closed

How do I change ports? #38

Lippiece opened this issue Apr 2, 2024 · 1 comment

Comments

@Lippiece
Copy link

Lippiece commented Apr 2, 2024

Hi. Thanks for your work. I would want something like #6. Run it locally and use my own global reverse-proxy to make it available from the outside. I would also like to change ports in the configuration since I have other service on the server that uses the required ports.

Any tips would be appreciated. I'm a small bit more advanced than a newbie.

@Bnyro
Copy link
Member

Bnyro commented May 23, 2024

You can use the ports option of docker compose.

First, run the ./configure-instance.sh script as documented at docs.piped.video.

Then, add the following to pipedfrontend in the docker-compose.yml

ports:
    - "127.0.0.1:8888:8080"

so that it looks like

pipedfrontend:
  image: ...
  ports:
    - "127.0.0.1:8888:80"
piped-proxy:
...

where 8888 is the port that you want to use for the frontend in this example.

For the pipedbackend, you can do the same with

ports:
    - "127.0.0.1:8888:8080"

and for the piped-proxy with

ports:
    - "127.0.0.1:8888:8080"

(again, replace 8888 with the port that you want to use).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants