Mounting Volumes in Docker with Visual Studio This technique is ideal for local development within Visual Studio. You can easily mount local files into a docker container by modifying the MSBuild commands of the project. Project File's MSBuild Commands This code came from a .NET Core 3.1 project. Using MSBuild Variables Another way to do this is to use the MSBuild Variable $(MSBuildStartupDirectory). Since...
Docker Compose: WORDPRESS_CONFIG_EXTRA The Docker image for WordPress contains a property called "WORDPRESS_CONFIG_EXTRA", this allows code to be passed directly to the wp-config.php file. This is great because you can fully customize your WordPress wp-config.php file. Queryable Variable for Enabling Debug My normal PHP code will not work: The trick to getting this code to work is escaping the "$" in Docker. This...
Running Terraform in Docker Locally Here are some quick tips on how to run Terraform locally in Docker. To get started pull the Docker image of Terraform. This image is built on the golang/alpine image. Running a Script There's a couple of things here worth noting. I'm mapping in my scripts using the volume command in Docker. The entry point script executes Terraform...
Setting up TeamSpeak 3 with Docker on DigitalOcean Setting up TeamSpeak 3 on DigitalOcean with Docker is incredibly easy. This provides a cheap ($5/month) dedicated server for gamers. There are some amazing benefits to using DigitalOcean such as the ability to quickly create a droplet and use of their floating IP addresses. The default TeamSpeak 3 license will allow...
63.2 ° F