dockerfiles icon indicating copy to clipboard operation
dockerfiles copied to clipboard

I need to update tinyproxy.conf file

Open rrathord1885 opened this issue 4 years ago • 7 comments

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.

rrathord1885 avatar Jun 16 '21 09:06 rrathord1885

/etc/tinyproxy/tinyproxy.conf

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

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

vimagick avatar Jun 16 '21 10:06 vimagick

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.

rrathord1885 avatar Jun 16 '21 10:06 rrathord1885

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 ...

vimagick avatar Jun 16 '21 10:06 vimagick

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

rrathord1885 avatar Jun 16 '21 10:06 rrathord1885

Sorry, I'm not familiar with Azure.

vimagick avatar Jun 16 '21 10:06 vimagick

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

rrathord1885 avatar Jun 16 '21 10:06 rrathord1885

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

rrathord1885 avatar Jun 16 '21 11:06 rrathord1885