1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 18:06:36 +02:00

update ntopng

This commit is contained in:
kev 2019-07-08 11:22:44 +08:00
parent 9dd5dd73ad
commit 85056dccfb
5 changed files with 33 additions and 15 deletions

View File

@ -25,7 +25,7 @@ services:
image: vimagick/ntopng
command: --community -d /var/lib/ntopng -i eth0 -r 127.0.0.1:6379@0 -w 0.0.0.0:3000
volumes:
- ./data/ntop:/var/lib/ntopng
- ./data/ntopng:/var/lib/ntopng
network_mode: host
restart: unless-stopped

View File

@ -8,7 +8,7 @@ services:
- "3000:3000"
- "5556:5556"
volumes:
- ./data/ntop:/var/lib/ntopng
- ./data/ntopng:/var/lib/ntopng
restart: unless-stopped
redis:

View File

@ -6,7 +6,7 @@ services:
image: vimagick/ntopng
command: --community -d /var/lib/ntopng -i eth0 -r 127.0.0.1:6379@0 -w 127.0.0.1:3000
volumes:
- ./data/ntop:/var/lib/ntopng
- ./data/ntopng:/var/lib/ntopng
network_mode: host
restart: unless-stopped

View File

@ -25,7 +25,7 @@ Read [this][2] to use more environment variables.
## up and running
```bash
$ mkdir -p data/{rundeck,ssh}
$ mkdir -p data/{rundeck,ssh,postgres}
$ chown -R 1000:1000 data
$ chmod 700 data/ssh
$ docker-compose up -d

View File

@ -1,11 +1,29 @@
rundeck:
image: rundeck/rundeck:3.0.22
ports:
- "4440:4440"
volumes:
- ./data/ssh:/home/rundeck/.ssh
- ./data/rundeck:/home/rundeck/server/data
environment:
- RUNDECK_SECURITY_HTTPHEADERS_ENABLED=false
mem_limit: 1024m
restart: always
version: '3.5'
services:
rundeck:
image: rundeck/rundeck:3.0.23
ports:
- "4440:4440"
volumes:
- ./data/ssh:/home/rundeck/.ssh
- ./data/rundeck:/home/rundeck/server/data
environment:
- RUNDECK_GRAILS_URL=https://rundeck.easypi.pro
- RUNDECK_SECURITY_HTTPHEADERS_ENABLED=true
- RUNDECK_DATABASE_DRIVER=org.postgresql.Driver
- RUNDECK_DATABASE_URL=jdbc:postgresql://postgres/rundeck
- RUNDECK_DATABASE_USERNAME=rundeck
- RUNDECK_DATABASE_PASSWORD=rundeck
restart: always
postgres:
image: postgres:alpine
volumes:
- ./data/postgres:/var/lib/postgresql/data
environment:
- POSTGRES_USER=rundeck
- POSTGRES_PASSWORD=rundeck
- POSTGRES_DB=rundeck
restart: always