Skip to content

Commit 06eae7c

Browse files
author
Exploding Labs Bot
committed
Update site from Jekyll source repo
1 parent 9248ebc commit 06eae7c

File tree

89 files changed

+192
-186
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+192
-186
lines changed

posts/2025/07/19/recommended-compose-file-service-fields-order.html

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta http-equiv="X-UA-Compatible" content="IE=edge">
88
<meta name="viewport" content="width=device-width, initial-scale=1">
99

10-
<meta property="og:title" content="Recommended Docker Compose service field-order" />
10+
<meta property="og:title" content="Recommended Docker Compose key order" />
1111
<meta property="og:type" content="website" />
1212
<meta property="og:url" content="https://explodinglabs.com/posts/" />
1313
<meta property="og:image" content="https://explodinglabs.com/posts/posts/assets/opengraph.png" />
@@ -33,9 +33,9 @@
3333

3434

3535
<!-- Begin Jekyll SEO tag v2.8.0 -->
36-
<title>Recommended Docker Compose service field-order | Exploding Labs</title>
36+
<title>Recommended Docker Compose key order | Exploding Labs</title>
3737
<meta name="generator" content="Jekyll v4.3.4" />
38-
<meta property="og:title" content="Recommended Docker Compose service field-order" />
38+
<meta property="og:title" content="Recommended Docker Compose key order" />
3939
<meta name="author" content="Exploding Labs" />
4040
<meta property="og:locale" content="en_AU" />
4141
<meta name="description" content="Recommended sequence (most common in official Compose examples and production teams):" />
@@ -46,9 +46,9 @@
4646
<meta property="og:type" content="article" />
4747
<meta property="article:published_time" content="2025-07-19T00:00:00+00:00" />
4848
<meta name="twitter:card" content="summary" />
49-
<meta property="twitter:title" content="Recommended Docker Compose service field-order" />
49+
<meta property="twitter:title" content="Recommended Docker Compose key order" />
5050
<script type="application/ld+json">
51-
{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"Exploding Labs"},"dateModified":"2025-09-12T09:04:45+00:00","datePublished":"2025-07-19T00:00:00+00:00","description":"Recommended sequence (most common in official Compose examples and production teams):","headline":"Recommended Docker Compose service field-order","mainEntityOfPage":{"@type":"WebPage","@id":"https://explodinglabs.com/posts/2025/07/19/recommended-compose-file-service-fields-order.html"},"url":"https://explodinglabs.com/posts/2025/07/19/recommended-compose-file-service-fields-order.html"}</script>
51+
{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"Exploding Labs"},"dateModified":"2025-09-12T22:03:25+00:00","datePublished":"2025-07-19T00:00:00+00:00","description":"Recommended sequence (most common in official Compose examples and production teams):","headline":"Recommended Docker Compose key order","mainEntityOfPage":{"@type":"WebPage","@id":"https://explodinglabs.com/posts/2025/07/19/recommended-compose-file-service-fields-order.html"},"url":"https://explodinglabs.com/posts/2025/07/19/recommended-compose-file-service-fields-order.html"}</script>
5252
<!-- End Jekyll SEO tag -->
5353

5454
</head>
@@ -88,7 +88,7 @@
8888

8989
<article itemscope itemtype="http://schema.org/BlogPosting">
9090
<header>
91-
<h1>Recommended Docker Compose service field-order</h1>
91+
<h1>Recommended Docker Compose key order</h1>
9292
<div class="post-meta">
9393
<time datetime="2025-07-19T00:00:00+00:00" itemprop="datePublished">
9494
Beau Barker, <time>Jul 19, 2025</time>.
@@ -104,17 +104,23 @@ <h1>Recommended Docker Compose service field-order</h1>
104104
<p>Recommended sequence (most common in official Compose examples and production
105105
teams):</p>
106106

107-
<ol>
108-
<li><strong>image / build</strong> → What the service is</li>
109-
<li><strong>command</strong> → How it runs (if overridden)</li>
110-
<li><strong>ports</strong> → External access (if any)</li>
111-
<li><strong>volumes</strong> → Data persistence</li>
112-
<li><strong>environment</strong> → Configuration</li>
113-
<li><strong>depends_on / links / networks</strong> → Dependencies and networking</li>
114-
<li><strong>healthcheck</strong> → Readiness/liveness probes</li>
115-
<li><strong>restart</strong> → Restart policy (if used)</li>
116-
<li><strong>deploy</strong> → Swarm-specific options (placement, replicas, resources, etc.)</li>
117-
</ol>
107+
<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">service</span><span class="pi">:</span>
108+
<span class="na">build</span><span class="pi">:</span>
109+
<span class="na">image</span><span class="pi">:</span>
110+
<span class="na">command</span><span class="pi">:</span>
111+
<span class="na">ports</span><span class="pi">:</span>
112+
<span class="na">volumes</span><span class="pi">:</span>
113+
<span class="na">environment</span><span class="pi">:</span>
114+
<span class="na">depends_on</span><span class="pi">:</span>
115+
<span class="na">links</span><span class="pi">:</span>
116+
<span class="na">networks</span><span class="pi">:</span>
117+
<span class="na">healthcheck</span><span class="pi">:</span>
118+
<span class="na">restart</span><span class="pi">:</span>
119+
<span class="na">deploy</span><span class="pi">:</span>
120+
121+
<span class="na">volumes</span><span class="pi">:</span>
122+
<span class="na">networks</span><span class="pi">:</span>
123+
</code></pre></div></div>
118124

119125
<footer>
120126
<a href="/posts/">More posts</a>

posts/airflow/execute-context.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<meta name="twitter:card" content="summary" />
4949
<meta property="twitter:title" content="What’s in Airflow’s context dictionary?" />
5050
<script type="application/ld+json">
51-
{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"Exploding Labs"},"dateModified":"2025-09-12T09:04:45+00:00","datePublished":"2017-12-13T00:00:00+00:00","description":"Showing the contents of the “context” object, which is available in an Operator’s execute method, or a PythonOperator’s function definition.","headline":"What’s in Airflow’s context dictionary?","mainEntityOfPage":{"@type":"WebPage","@id":"https://explodinglabs.com/posts/airflow/execute-context"},"url":"https://explodinglabs.com/posts/airflow/execute-context"}</script>
51+
{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"Exploding Labs"},"dateModified":"2025-09-12T22:03:25+00:00","datePublished":"2017-12-13T00:00:00+00:00","description":"Showing the contents of the “context” object, which is available in an Operator’s execute method, or a PythonOperator’s function definition.","headline":"What’s in Airflow’s context dictionary?","mainEntityOfPage":{"@type":"WebPage","@id":"https://explodinglabs.com/posts/airflow/execute-context"},"url":"https://explodinglabs.com/posts/airflow/execute-context"}</script>
5252
<!-- End Jekyll SEO tag -->
5353

5454
</head>

posts/airflow/fernet-key.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<meta name="twitter:card" content="summary" />
4949
<meta property="twitter:title" content="How to generate a Fernet key?" />
5050
<script type="application/ld+json">
51-
{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"Exploding Labs"},"dateModified":"2025-09-12T09:04:45+00:00","datePublished":"2018-01-12T00:00:00+00:00","description":"How to create a fernet key which is required for storing encrypted passwords.","headline":"How to generate a Fernet key?","mainEntityOfPage":{"@type":"WebPage","@id":"https://explodinglabs.com/posts/airflow/fernet-key"},"url":"https://explodinglabs.com/posts/airflow/fernet-key"}</script>
51+
{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"Exploding Labs"},"dateModified":"2025-09-12T22:03:25+00:00","datePublished":"2018-01-12T00:00:00+00:00","description":"How to create a fernet key which is required for storing encrypted passwords.","headline":"How to generate a Fernet key?","mainEntityOfPage":{"@type":"WebPage","@id":"https://explodinglabs.com/posts/airflow/fernet-key"},"url":"https://explodinglabs.com/posts/airflow/fernet-key"}</script>
5252
<!-- End Jekyll SEO tag -->
5353

5454
</head>

posts/airflow/gpl-dependency-error-with-pip.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<meta name="twitter:card" content="summary" />
4949
<meta property="twitter:title" content="GPL dependency error installing Airflow 1.10" />
5050
<script type="application/ld+json">
51-
{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"Exploding Labs"},"dateModified":"2025-09-12T09:04:45+00:00","datePublished":"2018-08-28T00:00:00+00:00","description":"Posts about Exploding Labs projects and other interests.","headline":"GPL dependency error installing Airflow 1.10","mainEntityOfPage":{"@type":"WebPage","@id":"https://explodinglabs.com/posts/airflow/gpl-dependency-error-with-pip"},"url":"https://explodinglabs.com/posts/airflow/gpl-dependency-error-with-pip"}</script>
51+
{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"Exploding Labs"},"dateModified":"2025-09-12T22:03:25+00:00","datePublished":"2018-08-28T00:00:00+00:00","description":"Posts about Exploding Labs projects and other interests.","headline":"GPL dependency error installing Airflow 1.10","mainEntityOfPage":{"@type":"WebPage","@id":"https://explodinglabs.com/posts/airflow/gpl-dependency-error-with-pip"},"url":"https://explodinglabs.com/posts/airflow/gpl-dependency-error-with-pip"}</script>
5252
<!-- End Jekyll SEO tag -->
5353

5454
</head>

posts/airflow/hide-globals-in-dag-definition-file.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<meta name="twitter:card" content="summary" />
4949
<meta property="twitter:title" content="How to hide globals in an Airflow DAG definition file?" />
5050
<script type="application/ld+json">
51-
{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"Exploding Labs"},"dateModified":"2025-09-12T09:04:45+00:00","datePublished":"2018-03-06T00:00:00+00:00","description":"Don’t instantiate the DAG and operators when importing your DAG definition file.","headline":"How to hide globals in an Airflow DAG definition file?","mainEntityOfPage":{"@type":"WebPage","@id":"https://explodinglabs.com/posts/airflow/hide-globals-in-dag-definition-file"},"url":"https://explodinglabs.com/posts/airflow/hide-globals-in-dag-definition-file"}</script>
51+
{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"Exploding Labs"},"dateModified":"2025-09-12T22:03:25+00:00","datePublished":"2018-03-06T00:00:00+00:00","description":"Don’t instantiate the DAG and operators when importing your DAG definition file.","headline":"How to hide globals in an Airflow DAG definition file?","mainEntityOfPage":{"@type":"WebPage","@id":"https://explodinglabs.com/posts/airflow/hide-globals-in-dag-definition-file"},"url":"https://explodinglabs.com/posts/airflow/hide-globals-in-dag-definition-file"}</script>
5252
<!-- End Jekyll SEO tag -->
5353

5454
</head>

posts/airflow/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<meta name="twitter:card" content="summary" />
4848
<meta property="twitter:title" content="Airflow" />
4949
<script type="application/ld+json">
50-
{"@context":"https://schema.org","@type":"WebPage","author":{"@type":"Person","name":"Exploding Labs"},"dateModified":"2025-09-12T09:04:45+00:00","description":"Posts about Exploding Labs projects and other interests.","headline":"Airflow","url":"https://explodinglabs.com/posts/airflow/"}</script>
50+
{"@context":"https://schema.org","@type":"WebPage","author":{"@type":"Person","name":"Exploding Labs"},"dateModified":"2025-09-12T22:03:25+00:00","description":"Posts about Exploding Labs projects and other interests.","headline":"Airflow","url":"https://explodinglabs.com/posts/airflow/"}</script>
5151
<!-- End Jekyll SEO tag -->
5252

5353
</head>

posts/airflow/log-elapsed-time.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<meta name="twitter:card" content="summary" />
4949
<meta property="twitter:title" content="Log elapsed time between Airflow tasks (removed)" />
5050
<script type="application/ld+json">
51-
{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"Exploding Labs"},"dateModified":"2025-09-12T09:04:45+00:00","datePublished":"2018-09-26T00:00:00+00:00","description":"How to get the elapsed time since the dag run began, or another task began, and log it.","headline":"Log elapsed time between Airflow tasks (removed)","mainEntityOfPage":{"@type":"WebPage","@id":"https://explodinglabs.com/posts/airflow/log-elapsed-time"},"url":"https://explodinglabs.com/posts/airflow/log-elapsed-time"}</script>
51+
{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"Exploding Labs"},"dateModified":"2025-09-12T22:03:25+00:00","datePublished":"2018-09-26T00:00:00+00:00","description":"How to get the elapsed time since the dag run began, or another task began, and log it.","headline":"Log elapsed time between Airflow tasks (removed)","mainEntityOfPage":{"@type":"WebPage","@id":"https://explodinglabs.com/posts/airflow/log-elapsed-time"},"url":"https://explodinglabs.com/posts/airflow/log-elapsed-time"}</script>
5252
<!-- End Jekyll SEO tag -->
5353

5454
</head>

posts/airflow/run-dag-and-watch-logs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<meta name="twitter:card" content="summary" />
4949
<meta property="twitter:title" content="How to run an Airflow DAG from the command-line?" />
5050
<script type="application/ld+json">
51-
{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"Exploding Labs"},"dateModified":"2025-09-12T09:04:45+00:00","datePublished":"2018-03-05T00:00:00+00:00","description":"Explains how to run a DAG, completely from the command-line, and watch the log output in real-time.","headline":"How to run an Airflow DAG from the command-line?","mainEntityOfPage":{"@type":"WebPage","@id":"https://explodinglabs.com/posts/airflow/run-dag-and-watch-logs"},"url":"https://explodinglabs.com/posts/airflow/run-dag-and-watch-logs"}</script>
51+
{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"Exploding Labs"},"dateModified":"2025-09-12T22:03:25+00:00","datePublished":"2018-03-05T00:00:00+00:00","description":"Explains how to run a DAG, completely from the command-line, and watch the log output in real-time.","headline":"How to run an Airflow DAG from the command-line?","mainEntityOfPage":{"@type":"WebPage","@id":"https://explodinglabs.com/posts/airflow/run-dag-and-watch-logs"},"url":"https://explodinglabs.com/posts/airflow/run-dag-and-watch-logs"}</script>
5252
<!-- End Jekyll SEO tag -->
5353

5454
</head>

posts/airflow/testing-dags.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<meta name="twitter:card" content="summary" />
4949
<meta property="twitter:title" content="How to Unit Test an Airflow DAG?" />
5050
<script type="application/ld+json">
51-
{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"Exploding Labs"},"dateModified":"2025-09-12T09:04:45+00:00","datePublished":"2017-10-20T00:00:00+00:00","description":"How to test an Airflow DAG by writing unit tests for individual operators.","headline":"How to Unit Test an Airflow DAG?","mainEntityOfPage":{"@type":"WebPage","@id":"https://explodinglabs.com/posts/airflow/testing-dags"},"url":"https://explodinglabs.com/posts/airflow/testing-dags"}</script>
51+
{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"Exploding Labs"},"dateModified":"2025-09-12T22:03:25+00:00","datePublished":"2017-10-20T00:00:00+00:00","description":"How to test an Airflow DAG by writing unit tests for individual operators.","headline":"How to Unit Test an Airflow DAG?","mainEntityOfPage":{"@type":"WebPage","@id":"https://explodinglabs.com/posts/airflow/testing-dags"},"url":"https://explodinglabs.com/posts/airflow/testing-dags"}</script>
5252
<!-- End Jekyll SEO tag -->
5353

5454
</head>

posts/apple-numbers-tax.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<meta name="twitter:card" content="summary" />
4949
<meta property="twitter:title" content="How to calculate Australian Personal Income Tax in Apple Numbers?" />
5050
<script type="application/ld+json">
51-
{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"Exploding Labs"},"dateModified":"2025-09-12T09:04:45+00:00","datePublished":"2022-04-27T00:00:00+00:00","description":"Use this formula to calculate the income tax for an Employee or Sole Trader in Australia as of 2022. IF(A1≥180001,(A1−180000)×0.45+51667, IF(A1≥120001,(A1−120000)×0.37+29467, IF(A1≥45001,(A1−45000)×0.325+5092, IF(A1≥18201,(A1−18200)×0.19, 0))))","headline":"How to calculate Australian Personal Income Tax in Apple Numbers?","mainEntityOfPage":{"@type":"WebPage","@id":"https://explodinglabs.com/posts/apple-numbers-tax"},"url":"https://explodinglabs.com/posts/apple-numbers-tax"}</script>
51+
{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"Exploding Labs"},"dateModified":"2025-09-12T22:03:25+00:00","datePublished":"2022-04-27T00:00:00+00:00","description":"Use this formula to calculate the income tax for an Employee or Sole Trader in Australia as of 2022. IF(A1≥180001,(A1−180000)×0.45+51667, IF(A1≥120001,(A1−120000)×0.37+29467, IF(A1≥45001,(A1−45000)×0.325+5092, IF(A1≥18201,(A1−18200)×0.19, 0))))","headline":"How to calculate Australian Personal Income Tax in Apple Numbers?","mainEntityOfPage":{"@type":"WebPage","@id":"https://explodinglabs.com/posts/apple-numbers-tax"},"url":"https://explodinglabs.com/posts/apple-numbers-tax"}</script>
5252
<!-- End Jekyll SEO tag -->
5353

5454
</head>

0 commit comments

Comments
 (0)