Initial commit
Creates an agent bot that reviews code to repositories that is has access to if it gets added as code reviewer Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
24
docker-compose.yml
Normal file
24
docker-compose.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
version: '3.8'
|
||||
services:
|
||||
gitea-bot:
|
||||
build: .
|
||||
image: gitea-bot:latest
|
||||
env_file:
|
||||
- .env
|
||||
ports:
|
||||
- "8000:8000"
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: [ "CMD-SHELL", "curl -f http://localhost:8000/ || exit 1" ]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
poller:
|
||||
build: .
|
||||
image: gitea-bot:latest
|
||||
env_file:
|
||||
- .env
|
||||
command: [ "python", "-u", "-m", "gitea_bot.poller" ]
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- gitea-bot
|
||||
Reference in New Issue
Block a user