mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
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. |
||
---|---|---|
.. | ||
bump-version.js | ||
clean.js | ||
dev.js | ||
release-apps.js | ||
setup.js | ||
update-compose.js | ||
update-dockerfile.js |