services: mcp-etude: image: mcp-etude:latest container_name: mcp-etude restart: unless-stopped user: "1005:1005" read_only: true tmpfs: [/tmp] cap_drop: [ALL] security_opt: ["no-new-privileges:true"] environment: ISSUER_URL: https://etude-mcp.yesminedor.tn DB_PATH: /app/data/auth.db PASSPHRASE_HASH_FILE: /run/secrets/passphrase.hash QDRANT_URL: http://100.94.90.119:6333 YESMINE_COLLECTION: yesmine-mp1-rag-gemini-prod AHMED_COLLECTION: ahmed-2eme-sciences-rag-gemini-prod YESMINE_SEARCH_URL: http://100.94.90.119:3097/search AHMED_SEARCH_URL: http://100.94.90.119:3098/search ETUDE_DAILY_SEARCH_CAP: "200" volumes: - ./data:/app/data - ./secret/passphrase.hash:/run/secrets/passphrase.hash:ro networks: [mcp-vps] healthcheck: test: ["CMD-SHELL", "curl -f http://127.0.0.1:8000/health || exit 1"] interval: 15s timeout: 5s retries: 3 start_period: 5s networks: mcp-vps: external: true