sha256:7f2c1828904bbdbd4dbf4cc448d31b2324e6b73cf2c6a3f194e7d1a7658d8da4
Last pushed
over 1 year by idrisalami10
Type
Compose
Manifest digest
sha256:7f2c1828904bbdbd4dbf4cc448d31b2324e6b73cf2c6a3f194e7d1a7658d8da4
services:
# PostgreSQL Database
postgres:
image: postgres:16-alpine
container_name: p1-postgres
environment:
POSTGRES_DB: p1_ventures
POSTGRES_USER: user
POSTGRES_PASSWORD: password
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- p1-network
healthcheck:
test: ["CMD-SHELL", "pg_isready -U user -d p1_ventures"]
interval: 5s
timeout: 5s
retries: 5
# Redis for queue management
redis:
image: redis:7-alpine
container_name: p1-redis
ports:
- "6379:6379"
volumes:
- redis_data:/data
networks:
- p1-network
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 30s
timeout: 10s
retries: 3
command: redis-server --appendonly yes
# Dataroom Crawler Service
dataroom_crawler:
image: idrisalami10/p1-ventures-dataroom-crawler:latest
container_name: p1-dataroom-crawler
environment:
GOOGLE_GENAI_USE_VERTEXAI: 0
GOOGLE_CLOUD_PROJECT: ${GOOGLE_CLOUD_PROJECT:-}
GOOGLE_CLOUD_PROJECT_NUMBER: ${GOOGLE_CLOUD_PROJECT_NUMBER:-}
GOOGLE_CLOUD_LOCATION: ${GOOGLE_CLOUD_LOCATION:-}
GOOGLE_GENAI_MODEL: ${GOOGLE_GENAI_MODEL:-}
GOOGLE_APPLICATION_CREDENTIALS: /app/secrets/gcp-service-account-key.json
DATAROOM_CRAWLER_LOG_LEVEL: INFO
DATAROOM_MAX_FILES: 100
DATAROOM_MAX_FILE_SIZE: 50
DATAROOM_TEMP_STORAGE: /app/temp_storage
REDIS_URL: redis://redis:6379
DATABASE_URL: postgresql://user:password@postgres:5432/p1_ventures
ports:
- "8004:8000"
volumes:
# Mount your Google Cloud credentials file here
# - ./path/to/your/credentials.json:/app/secrets/p1-ventures-3247408728f8.json:ro
- dataroom_temp_storage:/app/temp_storage
- dataroom_logs:/app/logs
depends_on:
postgres:
condition: service_healthy
redis:
condition: service_healthy
networks:
- p1-network
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 3
api:
image: idrisalami10/p1-ventures-api:latest
container_name: p1-api
ports:
- "8000:8000"
environment:
DATABASE_URL: postgresql://user:password@postgres:5432/p1_ventures
DATAROOM_CRAWLER_URL: http://dataroom_crawler:8004
depends_on:
postgres:
condition: service_healthy
dataroom_crawler:
condition: service_healthy
networks:
- p1-network
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 3
frontend:
image: idrisalami10/p1-ventures-frontend:latest
container_name: p1-frontend
ports:
- "3000:3000"
environment:
- NODE_ENV=production
- NEXT_PUBLIC_API_URL=http://localhost:8000
depends_on:
api:
condition: service_healthy
networks:
- p1-network
# Investment Memo Agent
investment_memo:
image: idrisalami10/p1-ventures-investment-memo:latest
container_name: p1-investment-memo-agent
environment:
GOOGLE_ADK_PROJECT_ID: ${GOOGLE_CLOUD_PROJECT:-}
GOOGLE_ADK_LOCATION: ${GOOGLE_CLOUD_LOCATION:-}
ports:
- "8003:8003"
networks:
- p1-network
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8003/health"]
interval: 30s
timeout: 10s
retries: 3
# Pitch Deck Agent
pitch_deck_agent:
image: idrisalami10/p1-ventures-pitch-deck-agent:latest
container_name: pitch_deck_agent
ports:
- "8001:8001"
environment:
- GOOGLE_API_KEY=${GOOGLE_API_KEY:-}
- HOST=0.0.0.0
- PORT=8001
- LOG_LEVEL=info
- DATABASE_URL=postgresql://user:password@postgres:5432/p1_ventures
depends_on:
postgres:
condition: service_healthy
networks:
- p1-network
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8001/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
volumes:
postgres_data:
redis_data:
dataroom_temp_storage:
dataroom_logs:
networks:
p1-network:
driver: bridge docker compose -f oci://idrisalami10/p1-ventures:latest upUse the above command to pull and run the Compose file. Learn more.
The PostgreSQL object-relational database system provides reliability and data integrity.
Pulls
1B+
Stars
15015
Last Updated
about 10 hours
Redis is the world’s fastest data platform for caching, vector search, and NoSQL databases.
Pulls
1B+
Stars
13616
Last Updated
about 11 hours