Commit a884f404 authored by nanahira's avatar nanahira

add apt-cacher-ng

parent 89c9f06e
......@@ -21,6 +21,17 @@ services:
ports:
- '{{services.address}}:1688:1688'
{% endif %}
{% if dnsmasq.aptCacher is defined and dnsmasq.aptCacher == "localhost" %}
apt-cacher-ng:
restart: always
image: git-registry.mycard.moe/nanahira/apt-cacher-ng-docker:latest
environment:
UPSTREAM_MIRROR: http://mirrors.tuna.tsinghua.edu.cn
ports:
- '{{services.address}}:80:80'
volumes:
- ./apt-cacher-ng:/var/cache/apt-cacher-ng
{% endif %}
{% if services.ddns is defined and services.ddns %}
{% for instance in services.ddns %}
ddns-{{instance.name}}:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment