Created
April 9, 2024 16:23
-
-
Save vladbabii/acd8ccd0c9a837baecaedbf2807ac458 to your computer and use it in GitHub Desktop.
docker compose apt cacher ng
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
version: "2.1" | |
services: | |
apt-cacher-ng: | |
image: sameersbn/apt-cacher-ng:3.7.4-20220421 | |
container_name: apt-cacher-ng | |
ports: | |
- <ip>:3142:3142 | |
volumes: | |
- /cache/apt:/var/cache/apt-cacher-ng | |
restart: unless-stopped | |
labels: | |
- "traefik.http.routers.aptcache.rule=Host(`<domain>`)" | |
- "traefik.enable=true" | |
- "traefik.port=3142" | |
- "com.centurylinklabs.watchtower.enable=true" # watchtower |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment