dockerodooazure-container-serviceazure-webapps

Azure web app for containers - multiple docker run commands


I am trying to deploy this image to azure web apps for containers. Is it possible to run multiple docker run commands on app start?

the following are the commands I have to run:

$ docker run -d -e POSTGRES_USER=odoo -e POSTGRES_PASSWORD=odoo -e POSTGRES_DB=postgres --name db postgres:10
$ docker run -p 8069:8069 --name odoo --link db:db -t odoo

thanks in advance!


Solution

  • the solution was to use docker compose