Skip to content

Commit 7d92f17

Browse files
committed
docs: improve cursor rules
1 parent 2ec3c0a commit 7d92f17

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.cursor/rules/learned-memories.mdc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
alwaysApply: true
3+
---
4+
15
# Project Memory
26

37
This file stores project-specific knowledge, conventions, and user preferences learned by the AI assistant.
@@ -13,3 +17,13 @@ This file stores project-specific knowledge, conventions, and user preferences l
1317
## Project Conventions
1418

1519
- **Documentation Standards**: Write documentation for complex software with technical precision, avoiding promotional language and focusing on functional descriptions.
20+
21+
## Project Structure
22+
23+
- **Architecture**: The docker-mailserver consists of multiple Docker containers or Kubernetes pods that work together to provide a mail service.
24+
- **Container Images**: Each container image is built in `target/`. Each subdirectory in `target/` represents a separate service component (e.g., `target/mta/`, `target/mda/`, `target/filter/`, `target/web/`, `target/db/`, `target/unbound/`, `target/ssl/`).
25+
- **Deployment Manifests**: The project supports both Docker Compose and Kubernetes deployments:
26+
- Docker Compose manifests are located in `deploy/compose/`
27+
- Kubernetes manifests using Kustomize are located in `deploy/kustomize/`
28+
- **Multi-Platform Support**: The same container images can be deployed either as Docker containers (via Compose) or as Kubernetes pods (via Kustomize), with deployment-specific configuration in the respective directories.
29+
- **Deployment Consistency**: When changes are made to deployment manifests in `deploy/compose/` or `deploy/kustomize/`, the same changes must be applied to the corresponding manifests in the other deployment method to maintain feature parity between Docker Compose and Kubernetes deployments.

0 commit comments

Comments
 (0)