Commit Graph

68 Commits

Author SHA1 Message Date
Tony Tang
db354b8493 feat: add mail settings
Signed-off-by: Tony Tang <tonytang@lilith.com>
2025-12-07 00:15:47 +08:00
Jannis Fedoruk-Betschki
29267589fe Fix expose syntax in ghost container (#88)
* Fix expose syntax in ghost container

* Remove expose property completely
2025-11-14 22:04:54 +01:00
vaniog
b3f5a2c8b3 fix: typo in compose.yml (#87) 2025-11-14 22:02:13 +01:00
renovate[bot]
c8572f1543 Update mysql Docker tag to v8.0.44 2025-11-03 16:34:12 +11:00
renovate[bot]
dcead4f9b1 Update caddy Docker tag to v2.10.2 2025-11-03 16:34:00 +11:00
renovate[bot]
a640127945 Update ghost/traffic-analytics Docker tag to v1.0.20 (#81)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-24 10:37:27 +00:00
renovate[bot]
1fb6d85916 Update ghost/traffic-analytics Docker tag to v1.0.19 (#79)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-23 18:49:28 +00:00
renovate[bot]
8dbbf2cd9a Update ghost/traffic-analytics Docker tag to v1.0.18 (#77)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-16 06:15:07 +00:00
renovate[bot]
f50e286f3b Update ghost/traffic-analytics Docker tag to v1.0.17 (#76)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-14 17:34:06 +00:00
renovate[bot]
d77664abaa Update ghost/traffic-analytics Docker tag to v1.0.16 (#71)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-25 06:42:30 +00:00
Michael Barrett
8a50372090 Removed redundant ACTIVITYPUB_COLLECTION_PAGE_SIZE env var (#69)
ref https://linear.app/ghost/issue/PROD-2539

The `ACTIVITYPUB_COLLECTION_PAGE_SIZE` env var is no longer needed by the
activitypub service
2025-09-23 13:23:34 +01:00
renovate[bot]
085c6c33ef Update ghost/traffic-analytics Docker tag to v1.0.15 (#68)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-09 18:47:57 +00:00
renovate[bot]
07f08fc0b2 Update ghost/traffic-analytics Docker tag to v1.0.14 (#67)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-02 14:29:23 +00:00
Michael Barrett
f3022138a4 Refactored activitypub env vars (#65)
no ref

Refactored the activitypub env vars:

- Removed `USE_MQ` as this is only required when the value needs to be set to `true`
- Removed `PORT` as the application is now running on port 8080 by default
- Removed `ALLOW_PRIVATE_ADDRES` as this is not needed for `production` environment
- Added `ACTIVITYPUB_COLLECTION_PAGE_SIZE` as this is required for the
`following` dispatcher to work correctly
- Added link to documented env vars
2025-09-02 15:28:41 +01:00
renovate[bot]
7b55ddfd20 Update ghost/traffic-analytics Docker tag to v1.0.13 (#66)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-02 13:53:10 +00:00
renovate[bot]
065ede6670 Update ghost/traffic-analytics Docker tag to v1.0.12 (#62)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-25 19:12:52 +00:00
renovate[bot]
5ff9fd6ea3 Update ActivityPub to v1.1.0 (#53)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-08 18:09:56 +00:00
renovate[bot]
58bd478d98 Update ghost/traffic-analytics Docker tag to v1.0.9 (#52)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-08 02:06:21 +00:00
renovate[bot]
90b5229538 Update ghost/traffic-analytics Docker tag to v1.0.8 (#51)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-07 18:34:59 +00:00
renovate[bot]
890794923b Update ghost/traffic-analytics Docker tag to v1.0.6 (#50)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-06 22:12:53 +00:00
Joe Grigg
67a41c0d09 Configured specify admin url conditionally in ghost config when in .env 2025-08-05 16:09:08 +01:00
Joe Grigg
5568b07750 Ghost 6.0 update 2025-08-04 16:34:45 +01:00
James Loh
e5bfa3c39b ActivityPub needs migrations before it can start
no ref

- If migrations haven't run AP can't start and will just crash so it needs to have finished before it can boot
2025-08-04 18:53:44 +10:00
Hannah Wolfe
487291e346 Updated docker to RC.2 (#42)
ref: https://github.com/TryGhost/ghost-docker/pull/40

- Docker published RC2  on Friday I think
- Note 1: I just cut RC3, but that won't be available yet!
- Note 2: we prob need to rethink how we do versioning so we aren't pinning to exact versions
2025-08-03 22:37:57 +01:00
Joe Grigg
3923cf81cb Updated missed v6 docker image update
This will only have an effect when the version isn't set in the .env file and we have it in the .env.example but did still need updating as the fallback.
2025-07-31 18:01:08 +01:00
Joe Grigg
7c1f9f39f9 Removed developer experiments configuration
Developer experiments used to be required in v5 but as we've switched to v6 they are no longer required to enable activitypub and traffic analytics.
2025-07-31 17:33:36 +01:00
Joe Grigg
9e7a3bf02a Updated to default to the latest (currently available on docker hub) 6.0
release candidate
2025-07-31 16:33:50 +01:00
renovate[bot]
4c3bc4e27a Update ghost/traffic-analytics Docker tag to v1.0.3 (#35)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-31 07:37:49 +00:00
renovate[bot]
b0db7bad3f Update ghost/traffic-analytics Docker tag to v1.0.2 (#33)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-24 01:44:11 +00:00
James Loh
ceac2ed1c2 Caddy: Add option to have a separate Admin domain
- Our setup docs recommend having Ghost Admin on a separate domain from the content domain
- This lets users optionally set this up if they want whilst continuing to align Admin <-> content domain through templates
2025-07-15 21:22:33 +10:00
James Loh
8d0d565df9 Caddy: Move to more templated approach
no ref

- The goal here is to be able to provide more functionality to self-hosters through snippets and other segmented config
- Some customers run Admin <-> content domains on separate ones which our current config doesn't support
- Our current config also hardcodes a www redirect which complicates setups when you don't have that domain setup or don't even want it
- Moving to a default template customers will have to copy which includes snippets allows us to update these later on without breaking peoples setups
2025-07-15 15:44:28 +10:00
Chris Raible
a752641576 Added traffic analytics configuration for file based salt store (#26)
ref https://linear.app/ghost/issue/PROD-2300/add-file-based-salt-store-for-self-hosters

In the analytics service, we generate user signatures based on a randomly generated salt per site_uuid. The salts are regenerated every day at midnight UTC so we can't pass a static value, and they need to be persisted throughout the day so the same user (based on IP and user agent) will generate the same signature in any given day.

We use an adapter-like pattern for the persistence of the salts — the default is a MemoryStore intended for local development, and we use Firestore in production. The MemoryStore appears to work well enough, but if the analytics service container is rebooted (i.e. during an update), all the salts from the current day will be lost, and it will skew the "unique visitors" and related metrics.

This PR adds the configuration to use a simple file based store for the salts, and a volume mounted into the Traffic Analytics service for persistent storage. This was the salts are persisted across container reboots, which avoids skewing the unique visitors metrics.

There are no additional setup steps required — all sites can use the same configuration, and the volumes are managed by docker compose.
2025-07-14 19:28:31 -07:00
renovate[bot]
aa46049727 Update ghost/traffic-analytics Docker tag to v1.0.1 (#28)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-15 02:26:42 +00:00
Chris Raible
62ff21363f Added check for interactive mode in tinybird-login service 2025-07-15 11:28:49 +10:00
Chris Raible
ee03de0a27 --wip-- [skip ci] 2025-07-14 16:21:08 +10:00
Chris Raible
26944f0a0a Updated Ghost config and Tinybird instructions to replace stats token with JWTs 2025-07-14 16:21:08 +10:00
renovate[bot]
880f6f1d29 Pin dependencies (#25)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-14 03:50:33 +00:00
James Loh
d06485b4d4 AP: Tag specific version along with migrate
- AP migration should be tagged along with the main AP instance to keep things in line
  - Renovate will now group them together so it bumps them at the same time in the same PR/commit etc to keep things aligned
- Moving to specific version pinning as well to make the renovate diffs clearer
2025-07-14 13:42:36 +10:00
Fabien O'Carroll
615b60fbb8 Bumped ActivityPub image to v1 2025-07-14 13:42:36 +10:00
renovate[bot]
c6ac2b7fd8 Pin ghost/traffic-analytics Docker tag to c93660c (#24)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-14 02:43:19 +00:00
James Loh
63660bc207 TA: Pin to specific version
no ref

- This just makes the renovate difs clearer as to what version its bumping it to and from
2025-07-14 12:39:35 +10:00
Chris Raible
e526b047f3 Bumped traffic analytics to v1 2025-07-14 12:39:35 +10:00
renovate[bot]
19ebc03bdb Pin dependencies 2025-07-10 16:42:09 +10:00
James Loh
e24893139b Pin to specific versions of packages to make renovate clearer 2025-07-10 16:30:23 +10:00
Chris Raible
6e5400acb5 Updated Tinybird tracker endpoint to use versioned API endpoint (#17)
ref https://linear.app/ghost/issue/PROD-2270/update-the-ghost-docker-repo-to-use-the-apiv1page-hit-endpoint

The Analytics Service is now using a new versioned endpoint at `/api/v1/page_hit` instead of the `/tb/web_analytics` endpoint. This update's Ghost's configuration to use this new endpoint for the tracker requests.

Note: this will require a docker compose pull to get the latest version of the analytics service, which includes the new versioned endpoint.
2025-07-09 20:53:40 -07:00
James Loh
7f332ff9ac Start exposing Ghost on localhost and template port
no ref

- The thinking here is this allows users to more easily run multiple Ghost instances on the same server by templating the Ghost port
- Majority wont need this but it also simplifies the message around having to forward traffic if you don't start Caddy
2025-07-09 15:16:43 +10:00
Chris Raible
1585fe040f Moved Tinybird tracker token to the analytics service 2025-07-08 17:34:46 -07:00
James Loh
60c018371e Redo MySQL healthcheck to be more generic
no ref

- This follows a more Docker standard approach by using MySQL admin's `ping` tool
- `start_interval` and `start_period` are required just to give MySQL a bit of time to start up and create the initial DBs on first boot
- We need to use `$$` to escape the variable in the compose file so it
  goes through to the healthcheck as a variable to expanded there
2025-07-08 14:25:13 +10:00
James Loh
9563a311be Added in yaml schema to aid IDE completion
no ref
2025-07-08 14:16:24 +10:00
James Loh
f384c7b906 TB: Move configuration to UI instead of env
- TB can now be toggled via the UI and setting it via env variables means the setting can never be toggled on/off properly
- Doing it this way lets users control things more
2025-07-03 17:56:11 +10:00