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 exec java app background attach logs
  • Docker error on an entrypoint script: “no such file or directory”
  • not able to perform gcloud init inside dockerfile
  • How do I run mysqld as root in the official MySql docker image?
  • docker-machine command fails on openstack
  • Applying custom SELinux policies on kubernetes pods/containers
  • How could I ping my docker container from my host
  • Getting “can't cd” error when when building using dockerfile
  • INFO[0015] [8] System error: pipe2: too many open files on docker build
  • Recommended way to run a Docker Compose stack in production?
  • Can't connect to my Bluemix container (Connection: close)
  • wordpress Docker image with vagrant
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.