Volumes

Volumes are the preferred mechanism for persisting data generated by and used by Docker containers. The WhatsApp Business API client requires one Docker volume, the Media volume. This volume will be created automatically when running docker-compose.

Media Volume

  • Stores incoming and outgoing media files.
  • Mounts within containers by default, at /usr/local/wamedia/

Docker volumes supports storing volumes on remote hosts or cloud providers. You can setup the media volume on any existing datacenter fileshare solution. Make sure all Webapp and Coreapp containers have read/write access to it. To view or edit the path to the volume, edit the docker-compose.yml file.