This repository has been archived on 2026-07-17. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
gitea-codex/docker-compose.yml
T
Space-Banane 85c0e735dc
ci / test (pull_request) Successful in 21s
ci / publish (pull_request) Has been skipped
fix. harden Go review flow
Fix runner bootstrap and auth handling, preserve queued SHAs, make event/job acceptance atomic, fence stale runs, correct retries and prompts, add fake end-to-end coverage, and fix deployment defaults.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-12 22:20:48 +02:00

31 lines
931 B
YAML

services:
mariadb:
image: mariadb:11
restart: unless-stopped
environment:
MARIADB_DATABASE: ${DB_NAME:-gitea_codex}
MARIADB_USER: ${DB_USER:-gitea_codex}
MARIADB_PASSWORD: ${DB_PASSWORD:?DB_PASSWORD must be set}
MARIADB_ROOT_PASSWORD: ${MARIADB_ROOT_PASSWORD:?MARIADB_ROOT_PASSWORD must be set}
volumes:
- ./db:/var/lib/mysql
healthcheck:
test: ["CMD", "mariadb-admin", "ping", "-h", "localhost", "-uroot", "-p${MARIADB_ROOT_PASSWORD}"]
interval: 5s
timeout: 3s
retries: 20
bot:
image: gitea.reversed.dev/space/gitea-codex:latest
depends_on:
mariadb:
condition: service_healthy
env_file:
- .env
volumes:
- ./worktrees:/var/lib/gitea-codex/worktrees
# The bot needs the host Docker API to launch isolated review containers.
- /var/run/docker.sock:/var/run/docker.sock
ports:
- "8000:8000"