Merge pull request 'Настроил Drone CI/CD' (#1) from drone-test into master
All checks were successful
continuous-integration/drone/push Build is passing

Reviewed-on: http://git.lulzette.ru/lulzette/Crisp_Telegram_bot/pulls/1
This commit is contained in:
lulzette 2021-10-19 13:37:13 +03:00
commit ec74632c02
2 changed files with 7 additions and 5 deletions

View File

@ -1,8 +1,6 @@
kind: pipeline
type: exec
name: default
platform:
os: linux
arch: amd64
@ -10,8 +8,12 @@ platform:
steps:
- name: build
commands:
- docker build .
- docker-compose -p Crisp_Telegram_bot build
- name: run
commands:
- docker-compose up --build -d
- docker-compose -p Crisp_Telegram_bot up -d
when:
status:
- success

View File

@ -1,6 +1,6 @@
version: '3'
services:
crispbot:
bot:
build: .
volumes:
- /root/config.yml:/app/config.yml