Docker Compose for local development
Setting up Docker Compose has made my local development workflow so much smoother. Here's my setup:
**docker-compose.yml**
```yaml
services:
api:
build: .
ports:
- "3000:3000"
db:
image: postgres:14
environment:
POSTGRES_DB: myapp
```
This allows me to spin up my entire stack with one command. Highly recommend!
Replies (8)
Login to post a reply.