- 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>
23 lines
433 B
YAML
23 lines
433 B
YAML
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 |