Skip to content

Conversation

@christopher-b
Copy link

This change allows the Caddy bind ports to be customized with .env variables. This allows more versatile deployments behind reverse proxies without needing changes that will cause conflict when upgrading.

When hosting Ghost containers behind a reverse proxy, or an a machine where ports 80/443 are already in use, we need to edit compose.yml with different ports. This change simplifies that by allowing thost changes to be made in .env. This also makes updates easier, as we don't need to worry about conflicts in compose.yml.

I'm happy to consider other approaches; putting this here as a starting point.

Allow the Caddy bind ports to be customized with .env variables. This
allows more versatile deployments behind reverse proxies without needing
changes that will cause conflict when upgrading.
cursor[bot]

This comment was marked as outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant