initial, step 2 already
This commit is contained in:
23
infra/README.md
Normal file
23
infra/README.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# Infrastructure
|
||||
|
||||
This directory contains infrastructure-related files for the home automation project.
|
||||
|
||||
## Files
|
||||
|
||||
- `docker-compose.yml`: Docker Compose configuration for running services
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
# Start services
|
||||
docker-compose up -d
|
||||
|
||||
# Stop services
|
||||
docker-compose down
|
||||
```
|
||||
|
||||
## TODO
|
||||
|
||||
- Add service definitions to docker-compose.yml
|
||||
- Add deployment configurations
|
||||
- Add monitoring and logging setup
|
||||
15
infra/docker-compose.yml
Normal file
15
infra/docker-compose.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
# Placeholder for future services
|
||||
# Example:
|
||||
# api:
|
||||
# build:
|
||||
# context: ..
|
||||
# dockerfile: apps/api/Dockerfile
|
||||
# ports:
|
||||
# - "8000:8000"
|
||||
|
||||
placeholder:
|
||||
image: alpine:latest
|
||||
command: echo "Docker Compose placeholder - add your services here"
|
||||
Reference in New Issue
Block a user