# 2023-09-26 # Stack: aptcacherng --- aptcacherng: name: "aptcacherng" tasks: - aptcacherng.yml ipv6: true directories: - "{{ stack_folder_conf }}/aptcacherng/conf" - "{{ stack_folder_datas }}/aptcacherng/datas" services: - name: "aptcacherng" image: "sameersbn/apt-cacher-ng:latest" uid: "0" gid: "0" privileged: true capabilities: - DAC_OVERRIDE - FOWNER restart: "always" ports: - { exposed: "${VM_PORT_APTCACHERNG}", container: "3142" } healthcheck: 'wget --no-verbose --tries=1 --spider http://0.0.0.0:3142/acng-report.html || exit 1' volumes: - { local: './{{ stack_folder_conf }}/aptcacherng/conf/acng.conf', container: '/etc/apt-cacher-ng/acng.conf', mode: 'ro' } - { local: './{{ stack_folder_datas }}/aptcacherng/datas', container: '/var/cache/apt-cacher-ng', mode: 'rw' }