Files
gitea-codex/docker-compose.yml
Space-Banane 7b63ecd536
All checks were successful
ci / test (push) Successful in 27s
ci / publish (push) Successful in 1m24s
Massive Improvements & MVP Patches
2026-05-22 21:27:48 +02:00

33 lines
918 B
YAML

services:
# mariadb: # Uncomment this block to run a local MariaDB instance.
# image: mariadb:11
# restart: unless-stopped
# environment:
# MARIADB_DATABASE: gitea_codex
# MARIADB_USER: gitea_codex
# MARIADB_PASSWORD: gitea_codex
# MARIADB_ROOT_PASSWORD: rootpass
# ports:
# - "3306:3306"
# volumes:
# - ./db:/var/lib/mysql
# healthcheck:
# test: ["CMD", "mariadb-admin", "ping", "-h", "localhost", "-uroot", "-prootpass"]
# interval: 5s
# timeout: 3s
# retries: 20
bot:
build: .
depends_on:
mariadb:
condition: service_healthy
env_file:
- .env
volumes:
- ./worktrees:/var/lib/gitea-codex/worktrees
- ~/.codex/auth.json:/root/.codex/auth.json:ro # Comment this out if you are not using ChatGPT Auth
- //var/run/docker.sock:/var/run/docker.sock
ports:
- "8000:8000"