mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-16 11:58:47 +00:00
update ntopng
This commit is contained in:
parent
9dd5dd73ad
commit
85056dccfb
@ -25,7 +25,7 @@ services:
|
|||||||
image: vimagick/ntopng
|
image: vimagick/ntopng
|
||||||
command: --community -d /var/lib/ntopng -i eth0 -r 127.0.0.1:6379@0 -w 0.0.0.0:3000
|
command: --community -d /var/lib/ntopng -i eth0 -r 127.0.0.1:6379@0 -w 0.0.0.0:3000
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/ntop:/var/lib/ntopng
|
- ./data/ntopng:/var/lib/ntopng
|
||||||
network_mode: host
|
network_mode: host
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ services:
|
|||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
- "5556:5556"
|
- "5556:5556"
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/ntop:/var/lib/ntopng
|
- ./data/ntopng:/var/lib/ntopng
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
|
@ -6,7 +6,7 @@ services:
|
|||||||
image: vimagick/ntopng
|
image: vimagick/ntopng
|
||||||
command: --community -d /var/lib/ntopng -i eth0 -r 127.0.0.1:6379@0 -w 127.0.0.1:3000
|
command: --community -d /var/lib/ntopng -i eth0 -r 127.0.0.1:6379@0 -w 127.0.0.1:3000
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/ntop:/var/lib/ntopng
|
- ./data/ntopng:/var/lib/ntopng
|
||||||
network_mode: host
|
network_mode: host
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ Read [this][2] to use more environment variables.
|
|||||||
## up and running
|
## up and running
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ mkdir -p data/{rundeck,ssh}
|
$ mkdir -p data/{rundeck,ssh,postgres}
|
||||||
$ chown -R 1000:1000 data
|
$ chown -R 1000:1000 data
|
||||||
$ chmod 700 data/ssh
|
$ chmod 700 data/ssh
|
||||||
$ docker-compose up -d
|
$ docker-compose up -d
|
||||||
|
@ -1,11 +1,29 @@
|
|||||||
rundeck:
|
version: '3.5'
|
||||||
image: rundeck/rundeck:3.0.22
|
|
||||||
ports:
|
services:
|
||||||
- "4440:4440"
|
|
||||||
volumes:
|
rundeck:
|
||||||
- ./data/ssh:/home/rundeck/.ssh
|
image: rundeck/rundeck:3.0.23
|
||||||
- ./data/rundeck:/home/rundeck/server/data
|
ports:
|
||||||
environment:
|
- "4440:4440"
|
||||||
- RUNDECK_SECURITY_HTTPHEADERS_ENABLED=false
|
volumes:
|
||||||
mem_limit: 1024m
|
- ./data/ssh:/home/rundeck/.ssh
|
||||||
restart: always
|
- ./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
|
||||||
|
Loading…
Reference in New Issue
Block a user