-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
37 lines (31 loc) · 1.18 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright (c) 2022 aasaam software development group
version: '3'
services:
apt-cacher-ng:
container_name: apt-cacher-ng
image: ghcr.io/aasaam/apt-cacher-ng:latest
# env_file:
# - ./env
environment:
# admin
ASM_APT_NG_CACHER_USERNAME: ${ASM_APT_NG_CACHER_USERNAME:-acng-admin}
# if empty will be generated each time container run, see logs
# ASM_APT_NG_CACHER_PASSWORD: ${ASM_APT_NG_CACHER_PASSWORD:-YourPassw0rd}
# configure your `PassThroughPattern`
ASM_APT_NG_CACHER_PASS_THROUGH_PATTERN: ${ASM_APT_NG_CACHER_PASS_THROUGH_PATTERN:-^(.*):443}
ASM_APT_NG_CACHER_NO_BIND_COMMENT: ${ASM_APT_NG_CACHER_NO_BIND_COMMENT:-#}
ASM_APT_NG_CACHER_BIND_ADDRESS: ${ASM_APT_NG_CACHER_BIND_ADDRESS:-127.0.0.1}
# set proxy if above variable is empty
ASM_APT_NG_CACHER_NO_PROXY_COMMENT: ${ASM_APT_NG_CACHER_NO_PROXY_COMMENT:-#}
ASM_APT_NG_CACHER_PROXY: ${ASM_APT_NG_CACHER_PROXY:-http://192.168.1.1:8080}
ports:
- 3142:3142 # apt-cacher-ng
volumes:
- cache-storage:/var/lib/apt-cacher-ng
restart: unless-stopped
ulimits:
nofile:
soft: 65536
hard: 65536
volumes:
cache-storage: