Step 1: Minimal Foundation - Console service with Docker
- Created docker-compose.yml with Console backend service - Implemented Console backend with FastAPI (port 8011) - Added health check and status endpoints - Set up Docker-only development principle - Console service successfully running as API Gateway foundation Test with: - curl http://localhost:8011/health - curl http://localhost:8011/api/status 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
23
docker-compose.yml
Normal file
23
docker-compose.yml
Normal file
@ -0,0 +1,23 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
console-backend:
|
||||
build:
|
||||
context: ./console/backend
|
||||
dockerfile: Dockerfile
|
||||
container_name: site11_console_backend
|
||||
ports:
|
||||
- "8011:8000"
|
||||
environment:
|
||||
- ENV=development
|
||||
- PORT=8000
|
||||
volumes:
|
||||
- ./console/backend:/app
|
||||
networks:
|
||||
- site11_network
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
site11_network:
|
||||
driver: bridge
|
||||
name: site11_network
|
||||
Reference in New Issue
Block a user