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

configure exposed interface port #25

Open
Fraklapince opened this issue Mar 31, 2023 · 1 comment
Open

configure exposed interface port #25

Fraklapince opened this issue Mar 31, 2023 · 1 comment

Comments

@Fraklapince
Copy link

hello,

I integrate your container with macvlan bridge and I would like to be able to change the container native exposed port, change the default 8080 to 80 or 443

@Fraklapince
Copy link
Author

OK,
I've just tweek the Caddyfile:
replacing the

:8080

by the desired exposed port (80 in my case)

:80

mount this file in the container:
docker-compose.yml

...
  volumes: 
    ...
    - ./hack/Caddyfile:/usr/local/caddy/Caddyfile
    ...

and configure the ARIA2RPCPORT ENV var to the internal default port 6800:
docker-compose.yml

...
  environment: 
    ...
    - ARIA2RPCPORT=6800
    ...

and it's OK

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

1 participant