ci: build publish and deploy container image
Some checks failed
delivery / quality (3.10) (push) Successful in 9m57s
delivery / quality (3.12) (push) Successful in 9m13s
delivery / build-and-push (push) Failing after 0s
delivery / deploy (push) Has been skipped

This commit is contained in:
kandrusyak
2026-07-28 00:27:37 +03:00
parent 7dc5a1f7f2
commit ee4a1e288d
4 changed files with 127 additions and 29 deletions

27
deploy/compose.yaml Normal file
View File

@@ -0,0 +1,27 @@
services:
bot:
image: git.kandrusyak.ru/admin/kandrusyak-bot:${IMAGE_TAG:?IMAGE_TAG is required}
container_name: kandrusyak-bot
restart: unless-stopped
env_file:
- .env
environment:
ASSISTANT_MODE: yandex
ASSISTANT_DB: /data/assistant_data.sqlite3
volumes:
- bot-data:/data
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
tmpfs:
- /tmp:size=64m,mode=1777
logging:
driver: json-file
options:
max-size: 10m
max-file: "3"
volumes:
bot-data:
name: kandrusyak-bot-data