diff --git a/.env.example b/.env.example index 829ef64..9db0f33 100644 --- a/.env.example +++ b/.env.example @@ -1,5 +1,8 @@ # COMPOSE_PROFILES=analytics,activitypub +# Which Ghost version to run +GHOST_VERSION=5-alpine + DOMAIN=example.com # Location to store uploaded data diff --git a/compose.yml b/compose.yml index cfb2957..733d6b5 100644 --- a/compose.yml +++ b/compose.yml @@ -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