mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-06 03:54:48 +02:00
update errbot
This commit is contained in:
parent
900aa2292a
commit
19b908d270
@ -14,6 +14,7 @@ errbot:
|
|||||||
image: vimagick/errbot
|
image: vimagick/errbot
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/home/errbot
|
- ./data:/home/errbot
|
||||||
|
- /usr/lib/python3.5/site-packages
|
||||||
tty: yes
|
tty: yes
|
||||||
restart: always
|
restart: always
|
||||||
```
|
```
|
||||||
@ -26,6 +27,7 @@ $ docker-compose run --rm errbot --init
|
|||||||
$ vim data/config.py
|
$ vim data/config.py
|
||||||
$ docker-compose up -d
|
$ docker-compose up -d
|
||||||
$ docker-compose exec --user root errbot sh
|
$ docker-compose exec --user root errbot sh
|
||||||
|
>>> apk add -U py3-lxml
|
||||||
>>> chmod 777 /usr/lib/python3.5/site-packages
|
>>> chmod 777 /usr/lib/python3.5/site-packages
|
||||||
>>> chmod 777 /usr/lib/python3.5/site-packages/__pycache__
|
>>> chmod 777 /usr/lib/python3.5/site-packages/__pycache__
|
||||||
>>> exit
|
>>> exit
|
||||||
@ -57,5 +59,43 @@ errbot [8:52 PM]
|
|||||||
└──────────┴─────────────┘
|
└──────────┴─────────────┘
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## install plugins
|
||||||
|
|
||||||
|
```
|
||||||
|
master [8:53 PM] !repos update
|
||||||
|
errbot [8:53 PM] Start updating ... Done.
|
||||||
|
|
||||||
|
master [8:53 PM] !repos search nettools
|
||||||
|
errbot [8:53 PM]
|
||||||
|
┏━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┓
|
||||||
|
┃ Status ┃ Name ┃ Description ┃
|
||||||
|
┡━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━┩
|
||||||
|
│ │ *errbotio/err-nettools* │ ... │
|
||||||
|
└────────┴─────────────────────────┴─────────────┘
|
||||||
|
|
||||||
|
master [8:54 PM] !repos install errbotio/err-nettools
|
||||||
|
errbot [8:54 PM] Installing errbotio/err-nettools ... Done.
|
||||||
|
|
||||||
|
master [8:55 PM] !help nettools
|
||||||
|
errbot [8:55 PM]
|
||||||
|
*Nettools*
|
||||||
|
_Various tools to query info about IPs, networks and domain names_
|
||||||
|
• *!check rbl* - usage: check_rbl [-h] [-t THREADS] address
|
||||||
|
• *!dig* - Call 'dig'
|
||||||
|
• *!geoip* - usage: geoip [-h] address
|
||||||
|
• *!host* - Call 'host'
|
||||||
|
• *!nslookup* - Call 'nslookup'
|
||||||
|
• *!whois* - usage: whois [-h] domain
|
||||||
|
|
||||||
|
master [8:56 PM] !whois www.youtube.com
|
||||||
|
errbot [8:56 PM]
|
||||||
|
name : youtube.com
|
||||||
|
expiration_date : 2018-02-14 00:00:00-08:00
|
||||||
|
last_updated : 2017-01-14 02:23:26-08:00
|
||||||
|
name_servers : {'ns2.google.com', 'ns4.google.com', 'ns3.google.com', 'ns1.google.com'}
|
||||||
|
creation_date : 2005-02-14 21:13:12-08:00
|
||||||
|
registrar : MarkMonitor, Inc.
|
||||||
|
```
|
||||||
|
|
||||||
[1]: http://errbot.io
|
[1]: http://errbot.io
|
||||||
[2]: http://errbot.io/en/latest/_downloads/config-template.py
|
[2]: http://errbot.io/en/latest/_downloads/config-template.py
|
||||||
|
@ -2,6 +2,7 @@ errbot:
|
|||||||
image: easypi/errbot-arm
|
image: easypi/errbot-arm
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/home/errbot
|
- ./data:/home/errbot
|
||||||
|
- /usr/lib/python3.5/site-packages
|
||||||
stop_signal: SIGINT
|
stop_signal: SIGINT
|
||||||
tty: yes
|
tty: yes
|
||||||
restart: always
|
restart: always
|
||||||
|
1
errbot/data/.local/lib/python3.5/site-packages/README.md
Normal file
1
errbot/data/.local/lib/python3.5/site-packages/README.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
See: <http://errbot.io/en/latest/user_guide/administration.html#dependencies>
|
@ -2,6 +2,7 @@ errbot:
|
|||||||
image: vimagick/errbot
|
image: vimagick/errbot
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/home/errbot
|
- ./data:/home/errbot
|
||||||
|
- /usr/lib/python3.5/site-packages
|
||||||
stop_signal: SIGINT
|
stop_signal: SIGINT
|
||||||
tty: yes
|
tty: yes
|
||||||
restart: always
|
restart: always
|
||||||
|
Loading…
Reference in New Issue
Block a user