mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-27 09:18:43 +00:00
fix errbot stop_signal
This commit is contained in:
parent
1168e58d77
commit
57a9178321
@ -10,6 +10,7 @@ RUN set -xe \
|
|||||||
build-base \
|
build-base \
|
||||||
git \
|
git \
|
||||||
libffi-dev \
|
libffi-dev \
|
||||||
|
openssl \
|
||||||
openssl-dev \
|
openssl-dev \
|
||||||
python3 \
|
python3 \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
@ -22,8 +23,6 @@ RUN set -xe \
|
|||||||
slackclient \
|
slackclient \
|
||||||
sleekxmpp \
|
sleekxmpp \
|
||||||
&& adduser -s /bin/sh -D errbot \
|
&& adduser -s /bin/sh -D errbot \
|
||||||
&& cd /home/errbot \
|
|
||||||
&& wget http://errbot.io/en/latest/_downloads/config-template.py \
|
|
||||||
&& apk del --purge build-base \
|
&& apk del --purge build-base \
|
||||||
libffi-dev \
|
libffi-dev \
|
||||||
openssl-dev \
|
openssl-dev \
|
||||||
|
@ -6,6 +6,7 @@ errbot
|
|||||||
[Errbot][1] is a chatbot, a daemon that connects to your favorite chat service
|
[Errbot][1] is a chatbot, a daemon that connects to your favorite chat service
|
||||||
and brings your tools into the conversation.
|
and brings your tools into the conversation.
|
||||||
|
|
||||||
|
|
||||||
## docker-compose.yml
|
## docker-compose.yml
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
@ -26,6 +27,8 @@ $ vim data/config.py
|
|||||||
$ docker-compose up -d
|
$ docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Check the example config.py [here][2].
|
||||||
|
|
||||||
## chat-ops
|
## chat-ops
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -51,3 +54,4 @@ errbot [8:52 PM]
|
|||||||
```
|
```
|
||||||
|
|
||||||
[1]: http://errbot.io
|
[1]: http://errbot.io
|
||||||
|
[2]: http://errbot.io/en/latest/_downloads/config-template.py
|
||||||
|
@ -10,6 +10,7 @@ RUN set -xe \
|
|||||||
build-base \
|
build-base \
|
||||||
git \
|
git \
|
||||||
libffi-dev \
|
libffi-dev \
|
||||||
|
openssl \
|
||||||
openssl-dev \
|
openssl-dev \
|
||||||
python3 \
|
python3 \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
@ -22,8 +23,6 @@ RUN set -xe \
|
|||||||
slackclient \
|
slackclient \
|
||||||
sleekxmpp \
|
sleekxmpp \
|
||||||
&& adduser -s /bin/sh -D errbot \
|
&& adduser -s /bin/sh -D errbot \
|
||||||
&& cd /home/errbot \
|
|
||||||
&& wget http://errbot.io/en/latest/_downloads/config-template.py \
|
|
||||||
&& apk del --purge build-base \
|
&& apk del --purge build-base \
|
||||||
libffi-dev \
|
libffi-dev \
|
||||||
openssl-dev \
|
openssl-dev \
|
||||||
|
@ -2,5 +2,6 @@ errbot:
|
|||||||
image: easypi/errbot-arm
|
image: easypi/errbot-arm
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/home/errbot
|
- ./data:/home/errbot
|
||||||
|
stop_signal: SIGINT
|
||||||
tty: yes
|
tty: yes
|
||||||
restart: always
|
restart: always
|
||||||
|
@ -20,3 +20,5 @@ BOT_LOG_FILE = '/home/errbot/errbot.log'
|
|||||||
BOT_LOG_LEVEL = logging.DEBUG
|
BOT_LOG_LEVEL = logging.DEBUG
|
||||||
|
|
||||||
BOT_ADMINS = ('@master', )
|
BOT_ADMINS = ('@master', )
|
||||||
|
|
||||||
|
AUTOINSTALL_DEPS = True
|
||||||
|
@ -2,5 +2,6 @@ errbot:
|
|||||||
image: vimagick/errbot
|
image: vimagick/errbot
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/home/errbot
|
- ./data:/home/errbot
|
||||||
|
stop_signal: SIGINT
|
||||||
tty: yes
|
tty: yes
|
||||||
restart: always
|
restart: always
|
||||||
|
Loading…
Reference in New Issue
Block a user