Docker Compose - How to execute multiple commands?

I want to do something like this where I can run multiple commands in the following code: db: image: postgres web: build: . command: python manage.py migrate command: python manage.py runse...