feature/ci (#84)
Co-authored-by: openhands <openhands@all-hands.dev> Reviewed-on: https://codeberg.org/johba/harb/pulls/84
This commit is contained in:
parent
beefe22f90
commit
4277f19b68
41 changed files with 3149 additions and 298 deletions
38
docker-compose.ci.yml
Normal file
38
docker-compose.ci.yml
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
# CI-specific docker-compose file
|
||||
# This provides a simplified interface for running the integration stack in Woodpecker CI
|
||||
# Usage: docker-compose -f docker-compose.ci.yml up -d
|
||||
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
harb-stack:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: docker/Dockerfile.integration
|
||||
privileged: true # Required for Docker-in-Docker
|
||||
environment:
|
||||
- HARB_ENV=BASE_SEPOLIA_LOCAL_FORK
|
||||
- SKIP_WATCH=1
|
||||
- COMPOSE_PROJECT_NAME=harb-ci
|
||||
ports:
|
||||
- "8081:8081" # Caddy (main API gateway)
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8081/api/graphql"]
|
||||
interval: 5s
|
||||
timeout: 3s
|
||||
retries: 30
|
||||
start_period: 120s
|
||||
volumes:
|
||||
# Mount the workspace so changes are reflected (for local testing)
|
||||
- .:/workspace:cached
|
||||
# Persist Docker state within the container
|
||||
- harb-ci-docker:/var/lib/docker
|
||||
networks:
|
||||
- harb-ci-network
|
||||
|
||||
networks:
|
||||
harb-ci-network:
|
||||
driver: bridge
|
||||
|
||||
volumes:
|
||||
harb-ci-docker:
|
||||
Loading…
Add table
Add a link
Reference in a new issue