💻 Coding & Development Prompts
Python, JavaScript, SQL, debugging, API
← All Categories
1 prompts
in DevOps
Docker Compose for Full Stack App
Write a docker-compose.yml for a full stack application with: 1) Frontend (React/Nginx), 2) Backend (Node.js/Express), 3) Database (PostgreSQL), 4) Redis (caching), 5) Adminer (database management UI). Include: proper networking between services, volume mounts for data persistence, environment variables file (.env), health checks, restart policies. Add a .dockerignore and explain each service configuration.
💡 Use multi-stage builds for the frontend Dockerfile to reduce image size.