mirror of
https://github.com/bitbaum/evig.git
synced 2026-12-04 12:19:20 +01:00
Remove the entire Medusa integration that was replaced by native database queries for product management. This includes the medusa-backend directory, all Medusa API routes (cart, orders, products, regions, health), Medusa client library and React hooks, StripeCheckout component, publish service, Docker services (medusa, medusa_db, medusa_redis), CI/CD workflow, and all Medusa references from config files, scripts, and docker-compose. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
122 lines
3.3 KiB
YAML
122 lines
3.3 KiB
YAML
version: '3.8'
|
|
|
|
services:
|
|
# PostgreSQL Database (Unified - for CMS API, NextAuth, and all services)
|
|
# Using pgvector image for AI/RAG vector similarity search support
|
|
db:
|
|
container_name: revampit_db
|
|
image: pgvector/pgvector:pg15
|
|
restart: unless-stopped
|
|
environment:
|
|
POSTGRES_USER: ${DB_USER:-postgres}
|
|
POSTGRES_PASSWORD: ${DB_PASSWORD:-postgres}
|
|
POSTGRES_DB: ${DB_NAME:-revampit_cms}
|
|
POSTGRES_INITDB_ARGS: "--encoding=UTF-8"
|
|
volumes:
|
|
- revampit_db_data:/var/lib/postgresql/data
|
|
- ./postgres-init:/docker-entrypoint-initdb.d
|
|
ports:
|
|
- "${DB_PORT:-5433}:5432"
|
|
networks:
|
|
- revampit_network
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U ${DB_USER:-postgres}"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
# Meilisearch for fast product search
|
|
meilisearch:
|
|
container_name: revampit_meilisearch
|
|
image: getmeili/meilisearch:v1.11
|
|
restart: unless-stopped
|
|
environment:
|
|
MEILI_MASTER_KEY: ${MEILI_MASTER_KEY:-masterKey_change_in_production}
|
|
MEILI_ENV: development
|
|
MEILI_NO_ANALYTICS: "true"
|
|
volumes:
|
|
- meilisearch_data:/meili_data
|
|
ports:
|
|
- "${MEILI_PORT:-7700}:7700"
|
|
networks:
|
|
- revampit_network
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--spider", "-q", "http://127.0.0.1:7700/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
|
|
# Voice Transcription Service (faster-whisper)
|
|
# Speech-to-text for product data entry via voice
|
|
transcription:
|
|
container_name: revampit_transcription
|
|
build:
|
|
context: ./services/transcription
|
|
dockerfile: Dockerfile
|
|
restart: unless-stopped
|
|
environment:
|
|
WHISPER_MODEL: ${WHISPER_MODEL:-base}
|
|
PORT: 5111
|
|
ports:
|
|
- "${TRANSCRIPTION_PORT:-5111}:5111"
|
|
networks:
|
|
- revampit_network
|
|
healthcheck:
|
|
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:5111/health')"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
|
|
# Mailpit - Local email testing (catches all emails, sends nothing)
|
|
# Web UI: http://localhost:8025
|
|
# SMTP: localhost:1025
|
|
mailpit:
|
|
container_name: revampit_mailpit
|
|
image: axllent/mailpit:latest
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8025:8025" # Web UI
|
|
- "1025:1025" # SMTP
|
|
networks:
|
|
- revampit_network
|
|
environment:
|
|
MP_SMTP_AUTH_ACCEPT_ANY: 1
|
|
MP_SMTP_AUTH_ALLOW_INSECURE: 1
|
|
|
|
# Listmonk - Open Source Email & Newsletter Service
|
|
listmonk:
|
|
container_name: revampit_listmonk
|
|
image: listmonk/listmonk:latest
|
|
restart: unless-stopped
|
|
ports:
|
|
- "${LISTMONK_PORT:-9090}:9000"
|
|
environment:
|
|
- TZ=Europe/Zurich
|
|
volumes:
|
|
- ./listmonk/config.toml:/listmonk/config.toml
|
|
- listmonk_uploads:/listmonk/uploads
|
|
networks:
|
|
- revampit_network
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
command: ["./listmonk", "--config", "/listmonk/config.toml"]
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--spider", "-q", "http://127.0.0.1:9000/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 5
|
|
|
|
volumes:
|
|
revampit_db_data:
|
|
driver: local
|
|
meilisearch_data:
|
|
driver: local
|
|
listmonk_uploads:
|
|
driver: local
|
|
|
|
networks:
|
|
revampit_network:
|
|
driver: bridge
|
|
name: revampit_network
|