# Local / any-host stack: `make up`. Server overrides — infra/deploy/docker-compose.server.yml (#12). services: bot: build: . env_file: .env environment: DATABASE_URL: postgresql+asyncpg://tgit:${POSTGRES_PASSWORD:-tgit}@postgres:5432/tgit GIT_CLONE_DIR: /data/uploads volumes: - uploads:/data depends_on: postgres: condition: service_healthy restart: unless-stopped mem_limit: 256m labels: tgit.managed: "true" logging: options: { max-size: "10m", max-file: "3" } postgres: image: postgres:16-alpine environment: POSTGRES_USER: tgit POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-tgit} POSTGRES_DB: tgit volumes: - pgdata:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U tgit -d tgit"] interval: 3s timeout: 3s retries: 20 restart: unless-stopped mem_limit: 256m labels: tgit.managed: "true" logging: options: { max-size: "10m", max-file: "3" } volumes: pgdata: uploads: