forked from sstent/minihass
sync
This commit is contained in:
24
README.md
24
README.md
@@ -50,4 +50,26 @@ GET /health
|
|||||||
|
|
||||||
### Docker Deployment
|
### Docker Deployment
|
||||||
- Removed local volume for config storage
|
- Removed local volume for config storage
|
||||||
- Requires network access to Consul cluster
|
- Requires network access to Consul cluster
|
||||||
|
|
||||||
|
### Continuous Integration
|
||||||
|
We use GitHub Actions to automatically build and push Docker images to GitHub Container Registry.
|
||||||
|
|
||||||
|
#### Workflow Details
|
||||||
|
- Triggers on pushes to main branch
|
||||||
|
- Builds Docker image using the Dockerfile
|
||||||
|
- Pushes image to GHCR with two tags: `latest` and commit SHA
|
||||||
|
|
||||||
|
#### Using the Image
|
||||||
|
```yaml
|
||||||
|
# Example docker-compose snippet
|
||||||
|
services:
|
||||||
|
smart-home:
|
||||||
|
image: ghcr.io/your-username/your-repo:latest
|
||||||
|
# ... rest of config
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Status Badge
|
||||||
|
[](https://github.com/OWNER/REPO/actions/workflows/container-build.yml)
|
||||||
|
|
||||||
|
> Replace OWNER/REPO with your GitHub username and repository name
|
||||||
Reference in New Issue
Block a user