Tag: docker-compose

  • Docker-Compose: Update images, redeploy and prune unused images

    by

    in

    I really like simpel oneliner commands in general. For example I use this oneliner to update, redeploy containers with the latest images and remove old unused container images. You can add the following line to your .bashrc to make an alias containing all the above commands in a single command called “compose-upgrade” After adding this…

  • Deploy WordPress using docker-compose

    by

    in

    Here is an example of how I used docker-compose to deploy my current WordPress install. All my containers are exposed directly into my network using an IPv4 address. To store persistent data I use persistent volumes. Command to create the persistent volume: Example docker-compose.yaml: