Pinned Ghost + Tinybird Sync container to same image

Closes https://linear.app/ghost/issue/ENG-2414

- These two containers must run the same version of Ghost since the TB container uses assets from the Ghost container
- If the two are out of sync we'd be updating or migrating Tinybird to a different set of APIs than what Ghost is expecting which could break things
This commit is contained in:
James Loh
2025-06-23 14:23:45 +10:00
parent 81893178fd
commit a924fa976a
2 changed files with 7 additions and 2 deletions

View File

@@ -17,7 +17,8 @@ services:
- ghost_network
ghost:
image: ghost:5-alpine
# Do not alter this without updating the Tinybird Sync container as well
image: ghost:${GHOST_VERSION:-5-alpine}
restart: always
expose:
- "2368"
@@ -116,7 +117,8 @@ services:
# Suporting Services
tinybird-sync:
image: ghost:5-alpine
# Do not alter this without updating the Ghost container as well
image: ghost:${GHOST_VERSION:-5-alpine}
command: >
sh -c "
if [ -d /var/lib/ghost/current/core/server/data/tinybird ]; then