2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 21:33:02 +01: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

View File

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

View File

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

View File

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

View File

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