mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 21:33:02 +01:00
update ntopng
This commit is contained in:
@@ -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 \
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user