---
# System prepended metadata

title: docker-compose.yml

---

# docker-compose.yml
docker-compose.yml

```yaml=
version: "3"
services:
 app:
   image: 'node:14.13.1-stretch'
   ports: 
     - '3000:3000'
   volumes:
     - .:/myapp
   working_dir: /myapp
   tty: true
 db:
   image: 'mysql:8'
   ports:
     - '3306:3306'
   environment:
     MYSQL_ROOT_PASSWORD: password
```