chore: prepare first release 1.0.1
This commit is contained in:
@@ -1,12 +1,20 @@
|
||||
# @mintel/infra
|
||||
|
||||
Infrastructure templates for Mintel projects.
|
||||
Production-ready infrastructure templates for Mintel client websites, optimized for Hetzner, Traefik, and Gitea Actions.
|
||||
|
||||
## Contents
|
||||
## 📦 Contents
|
||||
|
||||
- `docker/`: Universal `Dockerfile.nextjs` and `docker-compose.template.yml`.
|
||||
- `gitea/`: Production-ready `deploy-action.yml` for Gitea Actions.
|
||||
### `docker/`
|
||||
- **`Dockerfile.nextjs`**: A multi-stage build optimized for Next.js standalone output. Supports build-time ARGs for Umami and Base URL.
|
||||
- **`docker-compose.template.yml`**: A Traefik-ready compose file with automatic HTTPS redirection, security headers, and network isolation.
|
||||
|
||||
## Usage
|
||||
### `gitea/`
|
||||
- **`deploy-action.yml`**: A high-transparency deployment workflow.
|
||||
- **Testing**: Automatic deploy on push to `main`.
|
||||
- **Staging**: Deploy via `v*-rc.*` tags.
|
||||
- **Production**: Deploy via `v*.*.*` tags.
|
||||
- **Features**: Gotify notifications, health checks, and automatic `.env` generation.
|
||||
|
||||
These files are automatically injected into new projects by the `@mintel/cli`.
|
||||
## 🚀 Usage
|
||||
|
||||
These templates are automatically injected into new projects by the [`@mintel/cli`](../cli/README.md). If you need to update an existing project, you can manually copy them from this package.
|
||||
|
||||
Reference in New Issue
Block a user