Docker compose wordpress plugins

This is my docker-compose.yml so far:

  image: wordpress
    - db:mysql
    - 8080:80

  net: "bridge"

  image: mysql
    MYSQL_ROOT_PASSWORD: biersaufen

Is there a way to directly install wordpress plugins? (Directly means that i can install it via the docker-compose.yml)

  • How to manage deployment?
  • How to run linux command before starting up git bash terminal
  • Security and isolation: Running non-root application in privileged-mode container
  • Docker 1.12 reads old line from yml file “volumes” instead of new one
  • Automatic provisioning of Open stack VM for Docker containers
  • docker-stack.yml invalid volume type bind
  • How to customize the configuration file of the official PostgreSQL Docker image?
  • Run a docker command from Groovy script
  • Docker Swarm with etcd
  • How to deliver docker image to client?
  • How to create an overlay network with Docker?
  • Unable to start any container when Volumes are enabled Docker Toolbox
  • One Solution collect form web for “Docker compose wordpress plugins”

    Yes, you can, but not directly via the docker-compose file.

    You need to use the “build” section of the docker compose and have a Dockerfile that will install the modules for you. That way when you run docker-compose on your directory, it will first build the image with the plugins and use that image to start the stack.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.