1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-25 16:28:40 +00:00

update ntopng

This commit is contained in:
kev 2023-05-04 14:25:02 +08:00
parent 6d9649e342
commit f6785ff64e
4 changed files with 6 additions and 6 deletions

@ -2,7 +2,7 @@
# Dockerfile for ntopng
#
FROM ubuntu:20.04
FROM ubuntu:22.04
MAINTAINER EasyPi Software Foundation
RUN set -xe \
@ -10,8 +10,8 @@ RUN set -xe \
&& apt install -y curl gnupg libjson-c3 \
&& curl -sSL http://packages.ntop.org/apt-stable/ntop.key | apt-key add - \
&& { \
echo "deb http://packages.ntop.org/apt/20.04/ x64/"; \
echo "deb http://packages.ntop.org/apt/20.04/ all/"; \
echo "deb http://packages.ntop.org/apt/22.04/ x64/"; \
echo "deb http://packages.ntop.org/apt/22.04/ all/"; \
} > /etc/apt/sources.list.d/ntop.list \
&& apt update \
&& apt install -y ntopng \

@ -30,7 +30,7 @@ services:
restart: unless-stopped
redis:
image: redis:alpine
image: redis:7-alpine
command: --save 900 1
ports:
- "6379:6379"

@ -12,7 +12,7 @@ services:
restart: unless-stopped
redis:
image: redis:alpine
image: redis:7-alpine
command: --save 900 1
volumes:
- ./data/redis:/data

@ -11,7 +11,7 @@ services:
restart: unless-stopped
redis:
image: redis:alpine
image: redis:7-alpine
command: --save 900 1
ports:
- "127.0.0.1:6379:6379"