docker-compose.yml for beginners
We recently published a setup for “Docker” on GitHub.
First of all: Docker is a tool for container virtualization. In short, it helps to simulate a set-up - for example a web server. This saves you having to acquire and set up special hardware and software in order to then be able to develop applications on your own PC. And that's just a small area of application for Docker. You can find more at: docker.com.
The project published by Webmedia 2.0 has simplified this configuration for development with a web server using PHP, SQL, phpMyAdmin and Nginx. While such a setup required a number of configuration files and scripts to configure a docker container, the task here was to do this with just a single configuration file. This is particularly interesting for beginners who deal with container virtualization, as you can see at a glance how the servers are configured and adapting the configuration files is drastically simplified. And that also for projects that are already under development.
For web server containers without an SQL database, Webmedia 2.0 has published a corresponding, simpler docker-compose.yml. To start developing right away, included both projects including a suitable Nginx configuration file.
Link to the simple web server:
https://github.com/Webmedia20/simple-webserver
Link to the advanced web server:
https://github.com/Webmedia20/advanced-webserver