sameersbn / docker-apt-cacher-ng

Dockerfile to create a Docker container image for Apt-Cacher NG
MIT License
206 stars 71 forks source link

Possibility of editing config files either via volume or ... #38

Open bonelifer opened 2 years ago

bonelifer commented 2 years ago

Possibility of editing config files either via volume mapping or adding nano in the container so it can be edited within the container.

LachlanStone commented 1 year ago

Setting the ACNG.conf file to a local file path

One of the options to resolve this issue is to map a local copy of the ACNG.conf file to the /etc/apt-cacher-ng/acng.conf:ro

Secondly we can use a .env file for setting the locations of were the local folders are set

I have attached a copy of the docker-compose.yml file that I use for my version of the APT-Cacher-NG Container

Link:

docker-compose.zip