Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@ DB_USERNAME=postgres
DB_PASSWORD=postgres

# API
API_PORT=3000
API_PORT=6969

# GitHub App
GITHUB_APP_ID=
GITHUB_PRIVATE_KEY_PATH=
GITHUB_WEBHOOK_SECRET=

# Redis (BullMQ job queue)
REDIS_HOST=redis
REDIS_PORT=6379

# Validator API Keys (comma-separated)
API_KEYS=
26 changes: 0 additions & 26 deletions .github/workflows/test.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ Thumbs.db

# Postgres data (local dev)
data/
.claude
235 changes: 110 additions & 125 deletions DESIGN.md

Large diffs are not rendered by default.

28 changes: 26 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,28 @@ services:
- ./data/postgres:/var/lib/postgresql/data
- ./packages/db:/docker-entrypoint-initdb.d
ports:
- "127.0.0.1:5432:5432"
- "127.0.0.1:5434:5432" # 5434 to avoid conflict with other Postgres instances on this host
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${DB_USERNAME} -d ${DB_NAME}"]
interval: 5s
timeout: 5s
retries: 5
networks:
- github-mirror

redis:
container_name: github-mirror-redis
image: redis:7-alpine
restart: always
volumes:
- ./data/redis:/data
ports:
- "127.0.0.1:6379:6379"
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 5s
retries: 5
networks:
- github-mirror

Expand All @@ -28,7 +49,10 @@ services:
ports:
- "127.0.0.1:6969:6969"
depends_on:
- db
db:
condition: service_healthy
redis:
condition: service_healthy
networks:
- github-mirror

Expand Down
4 changes: 4 additions & 0 deletions packages/das/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
dist
coverage
.env
2 changes: 1 addition & 1 deletion packages/das/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ COPY --from=builder /app/dist ./dist
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/package.json ./

EXPOSE 3000
EXPOSE 6969

CMD ["node", "dist/main"]
Loading
Loading