🏠 首页
基准测试
📊 所有基准测试 🦖 恐龙 v1 🦖 恐龙 v2 ✅ 待办事项应用 🎨 创意自由页面 🎯 FSACB - 终极展示 🌍 翻译基准测试
模型
🏆 前 10 名模型 🆓 免费模型 📋 所有模型 ⚙️ 🛠️ 千行代码模式
资源
💬 💬 提示库 📖 📖 AI 词汇表 🔗 🔗 有用链接
Intermédiaire

Stack Docker Compose

#docker #devops #backend #configuration

Génère un fichier docker-compose.yml pour une stack complète (App + DB + Cache).

Crée un fichier `docker-compose.yml` pour une application Web. Services requis : 1. **App** : Build depuis le dossier courant, expose le port 3000. 2. **PostgreSQL** : Image officielle, volume persistant, variables d'env. 3. **Redis** : Image Alpine. Assure-toi que l'App attend que la DB soit prête (depends_on). Utilise un réseau bridge.