mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:50 +02:00
update ntopng
This commit is contained in:
parent
6d9649e342
commit
f6785ff64e
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user