mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-05-01 17:24:57 +00:00
Directory Restructuring: - qml/qml-components/qml-components/* → qml/components/ (flattens nesting) - All 104 QML files moved with git history preserved - Eliminates redundant qml-components nesting Documentation Updates: - ARCHITECTURE.md: Updated qml/components references (2 locations) - GETTING_STARTED.md: Updated qml/components path (1 location, end of file) - README.md: Updated qml/components references (3 locations) - CODE_REVIEW.md: Updated qml/components file paths (4 locations) - docs/ARCHITECTURE.md: Complete refactor with qml/components paths Verification: - ✅ No remaining qml-components/ references in documentation - ✅ All 104 QML files present in flattened structure - ✅ Directory structure verified (12 component categories) - ✅ First-class directory naming convention Structure Post-Refactor: qml/ ├── components/ │ ├── atoms/ (16 files) │ ├── core/ (11 files) │ ├── data-display/ (10 files) │ ├── feedback/ (11 files) │ ├── form/ (19 files) │ ├── lab/ (11 files) │ ├── layout/ (12 files) │ ├── navigation/ (12 files) │ ├── surfaces/ (7 files) │ ├── theming/ (4 files) │ └── utils/ (13 files) ├── hybrid/ └── widgets/ Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
103 lines
2.3 KiB
YAML
103 lines
2.3 KiB
YAML
version: '3.8'
|
|
|
|
services:
|
|
# SMTP Relay Service (Postfix)
|
|
postfix:
|
|
image: boky/postfix:latest
|
|
container_name: emailclient-postfix
|
|
environment:
|
|
ALLOWED_SENDER_DOMAINS: 'example.com localhost'
|
|
RELAYHOST: '[smtp.gmail.com]:587'
|
|
RELAYHOST_USERNAME: ''
|
|
RELAYHOST_PASSWORD: ''
|
|
POSTFIX_myhostname: 'emailclient.local'
|
|
POSTFIX_mynetworks: '127.0.0.0/8 10.0.0.0/8'
|
|
ports:
|
|
- '1025:25'
|
|
- '1587:587'
|
|
networks:
|
|
- emailclient-net
|
|
restart: unless-stopped
|
|
|
|
# IMAP Server (Dovecot)
|
|
dovecot:
|
|
image: dovecot/dovecot:latest
|
|
container_name: emailclient-dovecot
|
|
environment:
|
|
DOVECOT_PROTOCOLS: 'imap pop3'
|
|
DOVECOT_MAIL_HOME: '/var/mail'
|
|
DOVECOT_USER_DB: 'static'
|
|
DOVECOT_PASS_DB: 'static'
|
|
ports:
|
|
- '1143:143'
|
|
- '1993:993'
|
|
- '1110:110'
|
|
- '1995:995'
|
|
volumes:
|
|
- dovecot-data:/var/mail
|
|
networks:
|
|
- emailclient-net
|
|
restart: unless-stopped
|
|
|
|
# Redis Cache
|
|
redis:
|
|
image: redis:7-alpine
|
|
container_name: emailclient-redis
|
|
command: redis-server --appendonly yes
|
|
ports:
|
|
- '6379:6379'
|
|
volumes:
|
|
- redis-data:/data
|
|
networks:
|
|
- emailclient-net
|
|
restart: unless-stopped
|
|
|
|
# Email Service (Flask backend)
|
|
email-service:
|
|
image: emailclient-service:latest
|
|
build:
|
|
context: ../services/email_service
|
|
dockerfile: Dockerfile
|
|
container_name: emailclient-email-service
|
|
environment:
|
|
POSTFIX_HOST: postfix
|
|
DOVECOT_HOST: dovecot
|
|
REDIS_URL: redis://redis:6379/0
|
|
DATABASE_URL: postgresql://emailclient:emailclient@postgres:5432/emailclient
|
|
FLASK_ENV: development
|
|
FLASK_DEBUG: '1'
|
|
ports:
|
|
- '5000:5000'
|
|
depends_on:
|
|
- postfix
|
|
- dovecot
|
|
- redis
|
|
networks:
|
|
- emailclient-net
|
|
restart: unless-stopped
|
|
|
|
# PostgreSQL Database (optional, for email metadata)
|
|
postgres:
|
|
image: postgres:16-alpine
|
|
container_name: emailclient-postgres
|
|
environment:
|
|
POSTGRES_USER: emailclient
|
|
POSTGRES_PASSWORD: emailclient
|
|
POSTGRES_DB: emailclient
|
|
ports:
|
|
- '5432:5432'
|
|
volumes:
|
|
- postgres-data:/var/lib/postgresql/data
|
|
networks:
|
|
- emailclient-net
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
dovecot-data:
|
|
redis-data:
|
|
postgres-data:
|
|
|
|
networks:
|
|
emailclient-net:
|
|
driver: bridge
|