harb/podman-compose.yml
root ea27fcb722 feat: Complete Podman stack setup with working services
- Fixed service dependencies (removed bootstrap dependency for runtime services)
- Added landing service for documentation site at root path
- Moved web-app to /app path, landing to / path
- Fixed permission issues with lowercase 'z' SELinux context
- Added kraiken-lib compilation in txn-bot container
- Fixed TypeScript build for kraiken-lib with proper volumes
- Updated entrypoint scripts to handle npm installs properly
- Added locale fixes to Containerfiles
- Changed Caddy port from 80 to 8081 for external access
- Updated Docs link to point to local landing page

All services now working:
- Landing page at /
- Web app at /app/
- GraphQL at /graphql
- Transaction bot at /txn
- Anvil RPC at /rpc/anvil

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-24 12:12:54 +00:00

123 lines
2.8 KiB
YAML

version: "3.8"
services:
anvil:
build:
context: .
dockerfile: containers/foundry.Containerfile
command: ["/workspace/containers/anvil-entrypoint.sh"]
volumes:
- .:/workspace:Z
expose:
- "8545"
restart: unless-stopped
bootstrap:
build:
context: .
dockerfile: containers/foundry.Containerfile
command: ["/workspace/containers/bootstrap.sh"]
volumes:
- .:/workspace:Z
environment:
- ANVIL_RPC=http://anvil:8545
depends_on:
anvil:
condition: service_started
restart: "no"
ponder:
build:
context: .
dockerfile: containers/node-dev.Containerfile
entrypoint: ["/workspace/containers/ponder-dev-entrypoint.sh"]
volumes:
- .:/workspace:z
- ponder-node-modules:/workspace/services/ponder/node_modules
working_dir: /workspace
environment:
- CHOKIDAR_USEPOLLING=1
depends_on:
- anvil
expose:
- "42069"
restart: unless-stopped
webapp:
build:
context: .
dockerfile: containers/node-dev.Containerfile
entrypoint: ["/workspace/containers/webapp-dev-entrypoint.sh"]
volumes:
- .:/workspace:z
- webapp-node-modules:/workspace/web-app/node_modules
working_dir: /workspace
environment:
- CHOKIDAR_USEPOLLING=1
depends_on:
- anvil
expose:
- "5173"
restart: unless-stopped
landing:
build:
context: .
dockerfile: containers/node-dev.Containerfile
entrypoint: ["/workspace/containers/landing-dev-entrypoint.sh"]
volumes:
- .:/workspace:z
- landing-node-modules:/workspace/landing/node_modules
working_dir: /workspace
environment:
- CHOKIDAR_USEPOLLING=1
depends_on:
- anvil
expose:
- "5174"
restart: unless-stopped
txn-bot:
build:
context: .
dockerfile: containers/node-dev.Containerfile
entrypoint: ["/workspace/containers/txn-bot-entrypoint.sh"]
volumes:
- .:/workspace:z
- txn-node-modules:/workspace/services/txnBot/node_modules
- kraiken-node-modules:/workspace/kraiken-lib/node_modules
- kraiken-dist:/workspace/kraiken-lib/dist
working_dir: /workspace
depends_on:
- anvil
- ponder
expose:
- "43069"
restart: unless-stopped
caddy:
image: docker.io/library/caddy:2.8
volumes:
- ./containers/Caddyfile:/etc/caddy/Caddyfile:Z
ports:
- "0.0.0.0:8081:80"
depends_on:
anvil:
condition: service_started
ponder:
condition: service_started
webapp:
condition: service_started
landing:
condition: service_started
txn-bot:
condition: service_started
restart: unless-stopped
volumes:
webapp-node-modules:
landing-node-modules:
ponder-node-modules:
txn-node-modules:
kraiken-node-modules:
kraiken-dist: