0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/.github/scripts
Chris Raible cf6ff55241
Improved configuration setup for Docker development (#22224)
no issue

- When running Ghost in docker compose, you need to set the database
connection, redis connection, and the server host to values that are
suitable for the environment.
- Previously this was done by automatically editing your
`config.local.json` file to update these parameters in the container's
entrypoint script. This made it somewhat annoying to switch from Docker
to local development because you have to remember to update your
`config.local.json` manually.
- This change adds a new static configuration file for running in docker
compose. The values set in this configuration file will override any of
the same keys in the `config.local.json` file, while still allowing the
use of `config.local.json` for any _other_ configuration keys. The
upshot of this is that you won't need to modify your `config.local.json`
file when switching back and forth between local and docker dev — you
can keep your local database, redis, etc configuration in
`config.local.json`, and they will simply be ignored when running in
docker.
- This also removes the script that updates your `config.local.json`
file from the entrypoint, since we no longer need to perform this step.
2025-02-18 17:49:18 -08:00
..
bump-version.js Exported Git commit hash from update script 2024-09-24 14:08:38 +02:00
clean.js Added docker:setup yarn script (#22058) 2025-01-27 21:37:40 -08:00
dev.js Added support for portal & other apps in containerized Ghost (#22121) 2025-02-05 18:18:58 -08:00
release-apps.js Updated release process for Search and Comments UI (#22146) 2025-02-10 18:48:52 +07:00
setup.js Added Dev Container setup (#21279) 2024-10-24 11:15:08 -07:00
update-compose.js Improved docker development setup (#22177) 2025-02-18 23:47:39 +00:00
update-dockerfile.js Improved docker development setup (#22177) 2025-02-18 23:47:39 +00:00