This repository was archived by the owner on Oct 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Adding or updating services
Ryan Ewen edited this page Nov 15, 2017
·
4 revisions
- Update the Dnsmasq conf file (
data/conf-enabled/<relevant-service>.dnsmasq.conf) with the new URLs to be handled by the caching machine. - Update the approriate NGINX conf (
data/conf-enabled/<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 down docker-compose up -d
- Update the Dnsmasq conf file (
data/conf-enabled/<new-service>.dnsmasq.conf) with the new URLs to be handled by the caching machine. I suggest usingorigin.dnsmasq.confas a template. - Create a new NGINX conf (
data/conf-enabled/<new-service>.nginx.conf) with the same URLs to cache. I suggest usingorigin.nginx.confas a template. - Create a new cache subdirectory (
data/cache/<new-service>) with a.gitignorefile and make sure theproxy_cache_pathsetting 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 down docker-compose up -d