Commit Graph

32 Commits

Author SHA1 Message Date
James Loh
4701e8647f Update email configuration in .env.example
Updated addresses to match what we have in public docs https://docs.ghost.org/config#mail
2025-11-03 16:33:43 +11:00
Jon
8232643ba7 Add mail.from config to .env.example
It seems mail.from is required in the latest version (Ghost 6.0), otherwise mail setting won't work, which would result in the following log: "Missing mail.from config, falling back to a generated email address. Please update your config file and set a valid from address"
2025-11-03 16:33:43 +11:00
Joe Grigg
5568b07750 Ghost 6.0 update 2025-08-04 16:34:45 +01:00
Hannah Wolfe
94dbcd2ed5 Update .env.example 2025-08-04 19:01:46 +10:00
Hannah Wolfe
e488d40331 Updated comment in .env.example
Co-authored-by: Fabien O'Carroll <fabien@allou.is>
2025-08-04 19:01:46 +10:00
Hannah Wolfe
a27b16225f Updated comments in .env.example
- make it clear changing database credentials won't work
2025-08-04 19:01:46 +10:00
Hannah Wolfe
84532112ed Updated comments and order in .env.example (#44)
- The main meaningful change here is commenting the GHOST_VERSION variable
- I've also reordered the blocks to prioritise things in the documented setup flow
- Made various changes to the comments for clarity
2025-08-04 08:47:43 +01:00
Hannah Wolfe
ffbd4ad070 Updated commented config in .env.example
- Changed mail to not be commented by default, as it is required
- Changed tinybird TO be commented by default, as it is optional
2025-08-04 09:48:43 +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
Chris Raible
a69f57bbeb Commented out the DATABASE_USER in .env.example` (#41) 2025-08-03 22:25: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
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
90c56742bd Updated .env.example 2025-07-14 16:21:08 +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
James Loh
1630a4e60f Slightly tweak wording after feedback
Closes https://linear.app/ghost/issue/ENG-2435
2025-07-10 13:13:19 +10:00
James Loh
cad2d17db5 Ghost: Added some very basic mail setup placeholders
ref https://linear.app/ghost/issue/ENG-2435

- Mail must be setup to have a proper functioning Ghost install
- Bulk mail doesn't require env variables but standard SMTP mail does
- We'll update the docs but prompting users in the example env file is a starting point
2025-07-10 13:11:09 +10: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
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
James Loh
22af0fb447 TB: Remove requirement for UUID setting
Closes https://linear.app/ghost/issue/ENG-2442/
ref e97d6c027c

- Ghost used to require this to set/manage a UUID in TB/clickhouse but we now use Ghost's generated one directly, instead of requiring it here
- Cleaning this up because otherwise if they don't match the UI and the tracking events don't go to the same bucket
2025-07-03 14:38:33 +10:00
James Loh
aa83faa766 Move NODE_ENV variable to compose.yml file
- This should hopefully show that the setting shouldn't just be changed and instead be left as-is
2025-06-27 18:28:58 +10:00
James Loh
7a7f41b82c Set NODE_ENV to production
no ref

- This used to be handled by the `systemd` service and I forgot to port
2025-06-27 16:32:49 +10:00
James Loh
a924fa976a 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
2025-06-23 14:23:45 +10:00
James Loh
81893178fd Migrated data dirs to mount instead of docker volume
Closes https://linear.app/ghost/issue/ENG-2413

- This makes migration from standard `ghost-cli` installs to Docker a bit easier and also tries to prevent people from accidentally pruning their Docker volumes are removing data
2025-06-23 14:03:18 +10:00
Fabien O'Carroll
ac7fdad0f1 Replaced dependency on GCS with local storage
ref https://linear.app/ghost/issue/PROD-2009

ActivityPub now supports configuring a local storage adapter, we defer
to the ghost service for actually serving the images, so we write to a
shared volume and point our URLs at the Ghost content directory.
2025-06-19 08:28:44 +07:00
Joe Grigg
46cf0bdf51 Added required GOOGLE_CLOUD_PROJECT environment variable 2025-06-03 11:05:02 +01:00
Joe Grigg
dc63fab879 Added activitypub configuration 2025-06-02 14:12:19 +01:00
Chris Raible
e6d4754682 Added Tinybird migrations (#2)
no refs

The current setup runs the base Ghost installation without Traffic Analytics functionality. This commit adds:

- `tinybird-sync` service, which copies the latest Tinybird datafiles from the `ghost` container into a shared volume
- `tinybird-deploy` service & Dockerfile that includes the `tb` CLI, and runs `tb --cloud deploy` on boot
- Instructions for one-time manual setup of the Tinybird workspace in `TINYBIRD.md`

After the one-time manual setup, this configuration should automatically update Tinybird's datasources and endpoints in sync with the Ghost container when it is updated.


The initial setup is a bit clumsy and requires more manual steps than expected:
- The tinybird datafiles are in the Ghost image, but we need to access them from the `tinybird-deploy` service, which includes the `tb` CLI.
- When creating a new workspace in Tinybird, you can't access your admin token right away. Instead, it forces you to run `tb login` and `tb --cloud deploy` before you can access the rest of your workspace UI. This requires the user to install the `tb` CLI locally, and run an interactive login to authenticate with their Tinybird workspace. The generated `.tinyb` file is then mounted into the `tinybird-deploy` container, so this is only required for initial setup.
- Ghost requires the Tinybird `stats` and `tracker` token to be provided at boot. This means the user has to manually copy these tokens (either from CLI or the Workspace UI) and add them to their `.env` file manually. 
- We may want to either publish the Docker image with the Tinybird CLI installed, or possibly add the `tb` CLI to the traffic-analytics container.
2025-06-01 14:13:40 -07:00
Joe Grigg
de4605e48d Added tinybird config 2025-05-29 14:01:17 +01:00
Joe Grigg
72be447b06 Added inital configuration for Ghost, Caddy, MySQL & Traffic Analytics 2025-05-27 16:36:01 +01:00