Skip to content

Commit e5e6216

Browse files
author
Exploding Labs Bot
committed
Update site from Jekyll source repo
1 parent 3f41aa1 commit e5e6216

File tree

88 files changed

+487
-351
lines changed

Some content is hidden

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

88 files changed

+487
-351
lines changed
Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
5+
6+
<meta charset="utf-8">
7+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
8+
<meta name="viewport" content="width=device-width, initial-scale=1">
9+
10+
<meta property="og:title" content="Recommended Docker Compose service field-order" />
11+
<meta property="og:type" content="website" />
12+
<meta property="og:url" content="https://www.explodinglabs.com/posts/" />
13+
<meta property="og:image" content="https://www.explodinglabs.com/posts/posts/assets/opengraph.png" />
14+
<meta property="og:image:secure_url" content="https://www.explodinglabs.com/posts/posts/assets/opengraph.png" />
15+
<meta property="og:image:type" content="image/png" />
16+
<meta property="og:image:width" content="1200" />
17+
<meta property="og:image:height" content="630" />
18+
<meta property="og:image:alt" content="Composition in architecture" />
19+
20+
<link rel="stylesheet" href="/posts/index.css">
21+
<link rel="alternate" type="application/rss+xml" title="Exploding Labs" href="https://explodinglabs.com/posts/feed.xml">
22+
<link rel="author" href="https://plus.google.com/u/0/110235318020270619650?rel=author" />
23+
24+
<link rel="icon" type="image/png" href="/posts/assets/favicon-16x16.png?v=2" sizes="16x16">
25+
<link rel="icon" type="image/png" href="/posts/assets/favicon-32x32.png?v=2" sizes="32x32">
26+
<link rel="icon" type="image/png" href="/posts/assets/favicon-96x96.png?v=2" sizes="96x96">
27+
28+
<link rel="apple-touch-icon" sizes="120x120" href="/posts/assets/apple-touch-icon-120x120.png?v=2">
29+
<link rel="apple-touch-icon" sizes="152x152" href="/posts/assets/apple-touch-icon-152x152.png?v=2">
30+
<link rel="apple-touch-icon" sizes="167x167" href="/posts/assets/apple-touch-icon-167x167.png?v=2">
31+
<link rel="apple-touch-icon" sizes="180x180" href="/posts/assets/apple-touch-icon-180x180.png?v=2">
32+
33+
34+
35+
<!-- Begin Jekyll SEO tag v2.8.0 -->
36+
<title>Recommended Docker Compose service field-order | Exploding Labs</title>
37+
<meta name="generator" content="Jekyll v4.3.4" />
38+
<meta property="og:title" content="Recommended Docker Compose service field-order" />
39+
<meta name="author" content="Exploding Labs" />
40+
<meta property="og:locale" content="en_AU" />
41+
<meta name="description" content="Recommended sequence (most common in official Compose examples and production teams):" />
42+
<meta property="og:description" content="Recommended sequence (most common in official Compose examples and production teams):" />
43+
<link rel="canonical" href="https://explodinglabs.com/posts/2025/07/19/recommended-compose-file-service-fields-order.html" />
44+
<meta property="og:url" content="https://explodinglabs.com/posts/2025/07/19/recommended-compose-file-service-fields-order.html" />
45+
<meta property="og:site_name" content="Exploding Labs" />
46+
<meta property="og:type" content="article" />
47+
<meta property="article:published_time" content="2025-07-19T00:00:00+00:00" />
48+
<meta name="twitter:card" content="summary" />
49+
<meta property="twitter:title" content="Recommended Docker Compose service field-order" />
50+
<script type="application/ld+json">
51+
{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"Exploding Labs"},"dateModified":"2025-07-19T00:01:18+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>
52+
<!-- End Jekyll SEO tag -->
53+
54+
</head>
55+
<body>
56+
57+
58+
59+
60+
<nav>
61+
<div id="logo">
62+
<a href="https://www.explodinglabs.com/">Exploding Labs</a>
63+
</div>
64+
<div id="categories">
65+
<a href="/posts/">All Posts</a>
66+
<span>(74)</span>
67+
68+
<a href="/posts/jsonrpc/">JSON-RPC</a>
69+
<span>(16)</span>
70+
71+
<!--
72+
<a href="/posts/haskell/">Haskell</a>
73+
<span>(2)</span>
74+
75+
<a href="/posts/python/">Python</a>
76+
<span>(19)</span>
77+
78+
<a href="/posts/airflow/">Airflow</a>
79+
<span>(6)</span>
80+
-->
81+
</div>
82+
</nav>
83+
84+
<main>
85+
86+
<article itemscope itemtype="http://schema.org/BlogPosting">
87+
<header>
88+
<h1>Recommended Docker Compose service field-order</h1>
89+
<div class="post-meta">
90+
<time datetime="2025-07-19T00:00:00+00:00" itemprop="datePublished">
91+
Beau Barker, <time>Jul 19, 2025</time>.
92+
93+
<a href="https://github.com/explodinglabs/posts/edit/main/docs/_posts/2025-07-19-recommended-compose-file-service-fields-order.markdown">
94+
&#9998;
95+
</a>
96+
</time>
97+
</div>
98+
</header>
99+
<p>Recommended sequence (most common in official Compose examples and production
100+
teams):</p>
101+
102+
<ol>
103+
<li>image / build → What the service is</li>
104+
<li>command → How it runs (if overridden)</li>
105+
<li>ports → External access (if any)</li>
106+
<li>volumes → Data persistence</li>
107+
<li>environment → Configuration</li>
108+
<li>depends_on / links / networks → Dependencies and networking</li>
109+
<li>healthcheck → Readiness/liveness probes</li>
110+
<li>restart → Restart policy (if used)</li>
111+
</ol>
112+
113+
<footer>
114+
<a href="/posts/">More posts</a>
115+
</footer>
116+
</article>
117+
118+
119+
120+
</main>
121+
122+
</body>
123+
</html>

posts/airflow/execute-context.html

Lines changed: 3 additions & 3 deletions
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-07-16T05:49: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>
51+
{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"Exploding Labs"},"dateModified":"2025-07-19T00:01:18+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>
@@ -63,7 +63,7 @@
6363
</div>
6464
<div id="categories">
6565
<a href="/posts/">All Posts</a>
66-
<span>(73)</span>
66+
<span>(74)</span>
6767

6868
<a href="/posts/jsonrpc/">JSON-RPC</a>
6969
<span>(16)</span>
@@ -90,7 +90,7 @@ <h1>What's in Airflow's context dictionary?</h1>
9090
<time datetime="2017-12-13T00:00:00+00:00" itemprop="datePublished">
9191
Beau Barker, <time>Dec 13, 2017</time>.
9292

93-
Updated <time>Jul 16, 2025</time>.
93+
Updated <time>Jul 19, 2025</time>.
9494

9595
<a href="https://github.com/explodinglabs/posts/edit/main/docs/_posts/airflow/2017-12-13-airflows-execute-context.markdown">
9696
&#9998;

posts/airflow/fernet-key.html

Lines changed: 3 additions & 3 deletions
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-07-16T05:49: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>
51+
{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"Exploding Labs"},"dateModified":"2025-07-19T00:01:18+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>
@@ -63,7 +63,7 @@
6363
</div>
6464
<div id="categories">
6565
<a href="/posts/">All Posts</a>
66-
<span>(73)</span>
66+
<span>(74)</span>
6767

6868
<a href="/posts/jsonrpc/">JSON-RPC</a>
6969
<span>(16)</span>
@@ -90,7 +90,7 @@ <h1>How to generate a Fernet key?</h1>
9090
<time datetime="2018-01-12T00:00:00+00:00" itemprop="datePublished">
9191
Beau Barker, <time>Jan 12, 2018</time>.
9292

93-
Updated <time>Jul 16, 2025</time>.
93+
Updated <time>Jul 19, 2025</time>.
9494

9595
<a href="https://github.com/explodinglabs/posts/edit/main/docs/_posts/airflow/2018-01-12-generate-fernet-key.markdown">
9696
&#9998;

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

Lines changed: 3 additions & 3 deletions
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-07-16T05:49: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>
51+
{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"Exploding Labs"},"dateModified":"2025-07-19T00:01:18+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>
@@ -63,7 +63,7 @@
6363
</div>
6464
<div id="categories">
6565
<a href="/posts/">All Posts</a>
66-
<span>(73)</span>
66+
<span>(74)</span>
6767

6868
<a href="/posts/jsonrpc/">JSON-RPC</a>
6969
<span>(16)</span>
@@ -90,7 +90,7 @@ <h1>GPL dependency error installing Airflow 1.10</h1>
9090
<time datetime="2018-08-28T00:00:00+00:00" itemprop="datePublished">
9191
Beau Barker, <time>Aug 28, 2018</time>.
9292

93-
Updated <time>Jul 16, 2025</time>.
93+
Updated <time>Jul 19, 2025</time>.
9494

9595
<a href="https://github.com/explodinglabs/posts/edit/main/docs/_posts/airflow/2018-08-28-gpl-dependency-error-in-airflow-1.10.markdown">
9696
&#9998;

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

Lines changed: 3 additions & 3 deletions
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-07-16T05:49: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>
51+
{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"Exploding Labs"},"dateModified":"2025-07-19T00:01:18+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>
@@ -63,7 +63,7 @@
6363
</div>
6464
<div id="categories">
6565
<a href="/posts/">All Posts</a>
66-
<span>(73)</span>
66+
<span>(74)</span>
6767

6868
<a href="/posts/jsonrpc/">JSON-RPC</a>
6969
<span>(16)</span>
@@ -90,7 +90,7 @@ <h1>How to hide globals in an Airflow DAG definition file?</h1>
9090
<time datetime="2018-03-06T00:00:00+00:00" itemprop="datePublished">
9191
Beau Barker, <time>Mar 6, 2018</time>.
9292

93-
Updated <time>Jul 16, 2025</time>.
93+
Updated <time>Jul 19, 2025</time>.
9494

9595
<a href="https://github.com/explodinglabs/posts/edit/main/docs/_posts/airflow/2018-03-06-hide-globals-in-dag-definition-file.markdown">
9696
&#9998;

posts/airflow/index.html

Lines changed: 2 additions & 2 deletions
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-07-16T05:49:25+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-07-19T00:01:18+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>
@@ -58,7 +58,7 @@
5858
</div>
5959
<div id="categories">
6060
<a href="/posts/">All Posts</a>
61-
<span>(73)</span>
61+
<span>(74)</span>
6262

6363
<a href="/posts/jsonrpc/">JSON-RPC</a>
6464
<span>(16)</span>

posts/airflow/log-elapsed-time.html

Lines changed: 3 additions & 3 deletions
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-07-16T05:49: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>
51+
{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"Exploding Labs"},"dateModified":"2025-07-19T00:01:18+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>
@@ -63,7 +63,7 @@
6363
</div>
6464
<div id="categories">
6565
<a href="/posts/">All Posts</a>
66-
<span>(73)</span>
66+
<span>(74)</span>
6767

6868
<a href="/posts/jsonrpc/">JSON-RPC</a>
6969
<span>(16)</span>
@@ -90,7 +90,7 @@ <h1>Log elapsed time between Airflow tasks (removed)</h1>
9090
<time datetime="2018-09-26T00:00:00+00:00" itemprop="datePublished">
9191
Beau Barker, <time>Sep 26, 2018</time>.
9292

93-
Updated <time>Jul 16, 2025</time>.
93+
Updated <time>Jul 19, 2025</time>.
9494

9595
<a href="https://github.com/explodinglabs/posts/edit/main/docs/_posts/airflow/2018-09-26-log-elapsed-time.markdown">
9696
&#9998;

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

Lines changed: 3 additions & 3 deletions
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-07-16T05:49: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>
51+
{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"Exploding Labs"},"dateModified":"2025-07-19T00:01:18+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>
@@ -63,7 +63,7 @@
6363
</div>
6464
<div id="categories">
6565
<a href="/posts/">All Posts</a>
66-
<span>(73)</span>
66+
<span>(74)</span>
6767

6868
<a href="/posts/jsonrpc/">JSON-RPC</a>
6969
<span>(16)</span>
@@ -90,7 +90,7 @@ <h1>How to run an Airflow DAG from the command-line?</h1>
9090
<time datetime="2018-03-05T00:00:00+00:00" itemprop="datePublished">
9191
Beau Barker, <time>Mar 5, 2018</time>.
9292

93-
Updated <time>Jul 16, 2025</time>.
93+
Updated <time>Jul 19, 2025</time>.
9494

9595
<a href="https://github.com/explodinglabs/posts/edit/main/docs/_posts/airflow/2018-03-05-run-dag-and-watch-logs.markdown">
9696
&#9998;

0 commit comments

Comments
 (0)