<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Devops on Mateusz Cholewka</title><link>https://mateuszcholewka.com/categories/devops/</link><description>Recent content in Devops on Mateusz Cholewka</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Tue, 12 Aug 2025 18:53:58 +0200</lastBuildDate><atom:link href="https://mateuszcholewka.com/categories/devops/index.xml" rel="self" type="application/rss+xml"/><item><title>Read this before you start using the multistage builds for your docker images</title><link>https://mateuszcholewka.com/post/docker-image-layers/</link><pubDate>Sun, 21 Nov 2021 00:00:00 +0000</pubDate><guid>https://mateuszcholewka.com/post/docker-image-layers/</guid><description>&lt;p>In my &lt;a href="https://mateuszcholewka.com/post/dockerfile-refactoring/">last post&lt;/a>, I showed how to refactor the Dockerfile in your project. I didn&amp;rsquo;t want to make the previous post too long, so I didn&amp;rsquo;t touch the multistage builds. Here is the post where I will show you how to improve the Dockerfile even more, using multistage builds. Using stages in your builds is not hard to use, but there are some things where the below knowledge may help you :smiley:&lt;/p></description></item><item><title>Here are the Dockerfile tips you can use to get your builds faster and safer</title><link>https://mateuszcholewka.com/post/dockerfile-refactoring/</link><pubDate>Sat, 13 Nov 2021 00:00:00 +0000</pubDate><guid>https://mateuszcholewka.com/post/dockerfile-refactoring/</guid><description>&lt;p>Nowadays we are using docker a lot in web development. It&amp;rsquo;s easy to use, great in scaling, and gives us an immutable environment for running your application from local development to deploy on production.
To get the best experience with docker you should apply some practices to get fast and light builds of your docker images.&lt;/p>
&lt;p>In this article, I want to show you some of those practices based on this example:&lt;/p></description></item><item><title>How to configure PHP logs for Docker</title><link>https://mateuszcholewka.com/post/php-logs-in-docker/</link><pubDate>Mon, 01 Nov 2021 00:00:00 +0000</pubDate><guid>https://mateuszcholewka.com/post/php-logs-in-docker/</guid><description>&lt;p>If you are using docker and cloud services to run your application live, you should manage your logs.&lt;br>
The most common method to store them is to put them in the text file. It&amp;rsquo;s the default configuration for most backend frameworks. This option is ok if you run your application locally or on the VPS server for test.&lt;br>
When you run your application in a production environment, you should choose a better option to manage your logs. Almost every cloud has a tool for rotating logs or if not, you can use for example Grafana Loki or ELK stack. Those solutions are better because give you interfaces to rotate and search your logs. Also, you have easy access to them, you no need to connect to your server to review them.&lt;br>
If you are using Docker containers, and you running your application in cloud services, often they will be automatically writing the logs of your containers to tools like AWS CloudWatch or GCloud Stackdriver.&lt;/p></description></item><item><title>Lekki obraz dockera dla PHP</title><link>https://mateuszcholewka.com/post/lekki-docker-z-php/</link><pubDate>Mon, 23 Nov 2020 00:00:00 +0000</pubDate><guid>https://mateuszcholewka.com/post/lekki-docker-z-php/</guid><description>&lt;p>Docker, to bardzo użyteczne rozwiązanie, które pozwala nam na stworzenie środowiska uruchomieniowego identycznego na środowisku lokalnym testowym, jak i produkcyjnym. Myślę, że w dzisiejszych czasach jest już jednym z obowiązkowych zagadnień dla każdego programisty, niezależnie od stacku technologicznego, w którym pracuje. Użycie dockera wiąże się jednak z kilkoma problemami, jak np. to, że najlepiej jest posiadać rejestr do przechowywania obrazów dockera, czy to, że musimy odpowiednio taki obraz przygotować i skonfigurować jego budowanie. Tematowi tworzenia właśnie chcę się dziś przyjrzeć.&lt;/p></description></item></channel></rss>