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

Fix docker images #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

werwolfby
Copy link

@werwolfby werwolfby commented Sep 4, 2018

Docker example doesn't work for me. Transmission reject OPTIONS requests if I specify full path to transmission. And --link option doesn't make any sense right now. Because this link is not used (or at least I didn't find usages).

I've updated lighttpd.conf to support proxying. And by default when container just start it will proxying all requests to /transmission/* to http://transmission:9091/transmission/*. This allow me to run docker as it is described in README:

docker run -d --restart=always -p 9092:80 --name cumbustion --link transmission cumbustion

And because of link it can proxying requests.

If name of transmission is not equal to transmission we can specify alias:

docker run -d --restart=always -p 9092:80 --name cumbustion 
  --link some_different_transmission_container_name:transmission cumbustion

It use 9091 port by default, but it can be changed as well by environment variable PORT:

docker run -d --restart=always -p 9092:80 --name cumbustion --link transmission --env PORT=9093 cumbustion

P.S. I've created 2 images and pushed them to docker hub:
https://hub.docker.com/r/werwolfby/alpine-combustion/ - for x86 version
https://hub.docker.com/r/werwolfby/arm32v6-alpine-cumbustion/ - for ARM version
This images can be removed after automatic build implementation

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

Successfully merging this pull request may close these issues.

1 participant