- Save the
docker-compose.yml
andconfig.yml
in the same directory on one of your volumes on the NAS. - SSH in and use
docker-compose up -d
- Test the mirror with
curl --head http://NAS-IP:55000
- Start up docker daemons with the following option or put this in the daemon config file or copy into Docker for Mac/Windows settings.
--registry-mirror=http://NAS-IP:55000
- Pull an image and then check that it is cached in your mirror with
curl http://NAS-IP:55000/v2/_catalog
- or check that a large image isn't slow after the first pull :)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
__doc__ = """Tiny HTTP Proxy. | |
This module implements GET, HEAD, POST, PUT and DELETE methods | |
on BaseHTTPServer, and behaves as an HTTP proxy. The CONNECT | |
method is also implemented experimentally, but has not been | |
tested yet. | |
Any help will be greatly appreciated. SUZUKI Hisao |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# cloudflareddns.sh - dynamic dns updater module for Synology | |
# | |
# Author: | |
# Michael Wildman (http://mwild.me) | |
# | |
# Version: | |
# 0.2 | |
# |