This repository has been archived by the owner on Oct 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Adding or updating services
Ryan Ewen edited this page Feb 16, 2019
·
4 revisions
- Update the Dnsmasq conf file (
data/conf/<relevant-service>.dnsmasq.conf
) with the new URLs to be handled by the caching machine. - Update the approriate NGINX conf (
data/conf/<relevant-service>.nginx.conf
) with the same URLs to cache. - Recreate the containers to pull in the changed conf files (doesn't remove cache or rebuild the docker images):
docker-compose up -d --force-recreate
- Create a new Dnsmasq conf file (
data/conf/<new-service>.dnsmasq.conf
) with the new URLs to be handled by the caching machine. I suggest usingorigin.dnsmasq.conf
as a template. - Create a new NGINX conf (
data/conf/<new-service>.nginx.conf
) with the same URLs to cache. I suggest usingorigin.nginx.conf
as a template. - Create a new cache subdirectory (
data/cache/<new-service>
) with a.gitignore
file and make sure theproxy_cache_path
setting in your new NGINX conf matches. - Recreate the containers to pull in the changed conf files (doesn't remove cache or rebuild the docker images):
docker-compose up -d --force-recreate