Files
pepper_bot/docker-compose.yml
T
monster 77fa521e70
Create and publish a Docker image / build-and-push-image (push) Successful in 1m43s
Add json-file logging limits to compose
2026-08-08 12:30:32 +03:00

24 lines
532 B
YAML

version: '3.3'
services:
pepper-bot:
build:
context: .
dockerfile: Dockerfile
image: gitea.yandex5.ru/monster/pepper_bot:master
container_name: pepper-bot
environment:
- TELEGRAM_BOT_TOKEN=${TELEGRAM_BOT_TOKEN}
- TELEGRAM_CHAT_ID=${TELEGRAM_CHAT_ID}
- ASPNETCORE_URLS=http://0.0.0.0:8080
volumes:
- ./data:/app/data
ports:
- "9001:8080"
restart: unless-stopped
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"