mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 10:24:02 +00:00
feat(infra): add docker image build and deploy pipeline (#13)
This commit is contained in:
19
docker-compose.yml
Normal file
19
docker-compose.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
services:
|
||||
bot:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: apps/bot/Dockerfile
|
||||
environment:
|
||||
PORT: '8080'
|
||||
TELEGRAM_BOT_TOKEN: '${TELEGRAM_BOT_TOKEN:-000000:dev-token}'
|
||||
TELEGRAM_WEBHOOK_SECRET: '${TELEGRAM_WEBHOOK_SECRET:-dev-secret}'
|
||||
TELEGRAM_WEBHOOK_PATH: '${TELEGRAM_WEBHOOK_PATH:-/webhook/telegram}'
|
||||
ports:
|
||||
- '8080:8080'
|
||||
|
||||
miniapp:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: apps/miniapp/Dockerfile
|
||||
ports:
|
||||
- '8081:8080'
|
||||
Reference in New Issue
Block a user