mirror of
https://github.com/vhaudiquet/homeprod.git
synced 2025-12-19 04:26:04 +00:00
apt-cacher-ng: deploy apt-cacher-ng
This commit is contained in:
1
.github/dependabot.yml
vendored
1
.github/dependabot.yml
vendored
@@ -13,6 +13,7 @@ updates:
|
||||
- "/docker/home/mosquitto-mqtt"
|
||||
- "/docker/home/n8n"
|
||||
- "/docker/home/node-red"
|
||||
- "/docker/infrastructure/apt-cacher-ng"
|
||||
- "/docker/infrastructure/mail/roundcube"
|
||||
- "/docker/infrastructure/mail/stalwart"
|
||||
- "/docker/infrastructure/network/traefik"
|
||||
|
||||
@@ -42,6 +42,11 @@ node-red:
|
||||
branch: main
|
||||
compose_file: docker/home/node-red/docker-compose.yml
|
||||
|
||||
apt-cacher-ng:
|
||||
repo: homeprod
|
||||
branch: main
|
||||
compose_file: docker/infrastructure/apt-cacher-ng/docker-compose.yml
|
||||
|
||||
roundcube:
|
||||
repo: homeprod
|
||||
branch: main
|
||||
|
||||
25
docker/infrastructure/apt-cacher-ng/docker-compose.yml
Normal file
25
docker/infrastructure/apt-cacher-ng/docker-compose.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
services:
|
||||
apt-cacher-ng:
|
||||
image: sameersbn/apt-cacher-ng
|
||||
container_name: apt-cacher-ng
|
||||
networks:
|
||||
- default
|
||||
- proxy
|
||||
ports:
|
||||
- "3142"
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.apt-cacher-ng.rule=Host(`apt-cacher.lan`)"
|
||||
- "traefik.http.routers.apt-cacher-ng.entrypoints=http"
|
||||
- "traefik.http.services.apt-cacher-ng.loadbalancer.server.port=3142"
|
||||
volumes:
|
||||
- apt-cacher-ng:/var/cache/apt-cacher-ng
|
||||
restart: always
|
||||
|
||||
volumes:
|
||||
apt-cacher-ng:
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
name: proxy
|
||||
external: true
|
||||
Reference in New Issue
Block a user