ffmpeg image and flask app in two different containers in Docker compose. How do I use ffmpeg in flask app?

Here is my docker compose yml file:

ffmpeg:
    image: jrottenberg/ffmpeg:ubuntu
    tty: true
flask_app:
  build: ./flask_app
  #image: conorquinn01/composeapp
  command: python ./flask_app/app.py
  ports:
   - "5000:5000"
  volumes:
   - .:/muse_compose2
  links:
    ['ffmpeg']

Not sure how to do this. Thanks.

  • Docker - Access mapr UI from host
  • Understanding a complex docker command
  • Unable to find error in my script doesn't behave as intended
  • AWS Elastic Beanstalk container_commands in Python 3.4 Docker Container
  • separate applications on kubernetes cluster
  • Environment variables in Docker
  • Docker - How to access a volume not attached to a container?
  • No containers on Docker Shipyard GUI startup
  • Is it possible to use docker remote API in the same fashion as regular API?
  • Fail to build MongoDB replcaset with Auth on Swarm
  • docker current not installed - bash on ubuntu on windows 10
  • docker: cannot map “/var/run/mysqld/mysqld.sock”?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.