Containers run services in an isolated environment, if we deploy our applications using containers then the host system on which these containers are running will not be affected even though the applications running within containers are being hacked.
HTTP Authentication is used to allow access limit to a site or particular directories by validating the username and password. HTTP basic authentication can also be combined with other access restriction methods, for example, restricting access by IP address or by geographical location.
In this blog post, we will learn how to setup and use gitlab container registry to implement, test build and deploy your code automatically with Docker.
Data loss can happen when we accidentally delete the files, or when server crashes or system fails, or when we applied migrations to the data that didn't work so we don't get previous data with the schema. In the production environment, it's mandatory to do database backup when we do changes in the code.
PHP7 is the latest version with lot of performance improvements and every one want to update their servers and code to it. Lets see how to configure one and host your code.
Here we see the combination of ubuntu, nginx, php-fpm, php7, and mysql.
Compared to LAMP stack LEMP is powerfull as we use Nginx as reverse proxy and static file serving in contrast to Apache server.
GitLab Container Registry is a secure and private registry for Docker images integrated completely in Gitlab. In this tutorial we will setup and use GitLab Container Registry. If you're using previous versions of Gitlab upgrade and then follow this tutorial.