homeserver/docker-compose/acng/docker-compose.yml.j2
mg 60a954a705 move apt-cacher-ng to docker (#507)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: #507
2023-04-18 14:57:21 +02:00

20 lines
488 B
Django/Jinja

version: '3'
services:
apt-cacher-ng:
container_name: apt-cacher-ng
restart: always
image: quotengrote/apt-cacher-ng:master
ports:
- "9999:9999"
volumes:
- cache:/var/cache/apt-cacher-ng
environment:
USER: acng-admin
PASS: {{ lookup('keepass', 'acng_webinterface', 'password') }}
VERBOSE: 1 # 0/1
THRESHOLD: 60 # package housekeeping threshold
labels:
- com.centurylinklabs.watchtower.enable=true
volumes:
cache: