Skip to content

Commit baff818

Browse files
authored
Pinned traffic analytics version in compose.yml (#25184)
Currently docker compose won't ever pull the latest version if there's already a v1.x.x pulled locally. This can be annoying when working on features that span the analytics service and Ghost, as you may be working against a stale version of the analytics service without realizing it. By pinning the exact version, this will force docker to pull the latest available as soon as it's updated in the compose file (which renovate should handle for us as new versions are released).
1 parent 96c5399 commit baff818

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ services:
191191

192192
analytics:
193193
profiles: [ analytics, all ]
194-
image: ghost/traffic-analytics:1
194+
image: ghost/traffic-analytics:1.0.18
195195
platform: linux/amd64
196196
command: ["node", "--enable-source-maps", "dist/server.js"]
197197
entrypoint: [ "/app/entrypoint.sh" ]

e2e/compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ services:
5252
condition: service_healthy
5353

5454
analytics:
55-
image: ghost/traffic-analytics:1
55+
image: ghost/traffic-analytics:1.0.18
5656
platform: linux/amd64
5757
command: ["node", "--enable-source-maps", "dist/server.js"]
5858
entrypoint: [ "/app/entrypoint.sh" ]

0 commit comments

Comments
 (0)