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

I need to update tinyproxy.conf file #178

Open
rrathord1885 opened this issue Jun 16, 2021 · 7 comments
Open

I need to update tinyproxy.conf file #178

rrathord1885 opened this issue Jun 16, 2021 · 7 comments

Comments

@rrathord1885
Copy link

Hi, I need to enable basic Auth. but i am not able to find file tinyproxy.conf.
Can you help to the file location so that i can enable basic Auth.

@vimagick
Copy link
Owner

vimagick commented Jun 16, 2021

/etc/tinyproxy/tinyproxy.conf

I've updated the docker-compose.yml, please check it out.

https://github.com/vimagick/dockerfiles/tree/master/tinyproxy

@rrathord1885
Copy link
Author

rrathord1885 commented Jun 16, 2021

okay. now I need to build image by command docker build -t tinyproxy . will it take my new configuration . I mean if will change the configuration file then it will reflect in new docker image?
Thanks.

@vimagick
Copy link
Owner

vimagick commented Jun 16, 2021

When you run the container, you can use the -v option to mount a volume.

See: https://docs.docker.com/storage/volumes/

For example:

docker run -v /path/to/your/tinyproxy.conf:/etc/tinyproxy/tinyproxy.conf ...

@rrathord1885
Copy link
Author

I am going to use this image to run Azure container instance . how will this work on azure container. ?

@vimagick
Copy link
Owner

Sorry, I'm not familiar with Azure.

@rrathord1885
Copy link
Author

so there is no option to attach updated configuration file (tinyproxy.conf) along with image ?

@rrathord1885
Copy link
Author

Thanks . there is option to mount a volume in azure container.

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