add ci for tg bot
Deploy app frontend / app frontend (push) Failing after 54s
Deploy service couchdb / service couchdb (push) Successful in 38s
Deploy db-migrations / db-migrations (push) Failing after 50s
Deploy service message-delivery-method-web-push / service message-delivery-method-web-push (push) Failing after 1m27s
Deploy service tg-bot / service tg-bot (push) Failing after 44s

This commit is contained in:
2024-12-12 17:45:01 +02:00
parent e07d748e87
commit 7df04c0103
24 changed files with 309 additions and 365 deletions
+22
View File
@@ -60,3 +60,25 @@ services:
options:
max-size: "100m"
max-file: "10"
tg-bot:
image: hereconnect/service-tg-bot:${MESSAGE_DELIVERY_METHOD_WEB_PUSH_TAG:-latest}
build:
context: build/service-tg-bot
dockerfile: ../../services/tg-bot/Dockerfile
environment:
- API_URL=http://${COUCHDB_USER}:${COUCHDB_PASSWORD}@couchdb:5984
- BOT_TOKEN=${BOT_TOKEN:-}
- READ_BASE_URL=${READ_BASE_URL:-}
depends_on:
couchdb:
condition: service_healthy
restart: true
db-migrations:
condition: service_completed_successfully
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "100m"
max-file: "10"