Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Ghost readme with Apache2 setup #2280

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nicoandresr
Copy link

Adds the information about how to set up apache2 as a reverse proxy with the appropriate headers

Adds the information about how to set up apache2 as a reverse proxy with the appropriate headers
@nicoandresr nicoandresr changed the title Update readme with Apache2 setup Update Ghost readme with Apache2 setup Feb 8, 2023
Copy link
Member

@yosifkit yosifkit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any changes need to be made in the stack.yml or content.md since README.md is generated from them.

```

[![Try in PWD](https://github.com/play-with-docker/stacks/raw/cff22438cb4195ace27f9b15784bbb497047afa7/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/57f9907ee5bbeaede8c97f439b9c11bc1081dd75/ghost/stack.yml)

Run `docker stack deploy -c stack.yml ghost` (or `docker-compose -f stack.yml up`), wait for it to initialize completely, and visit `http://swarm-ip:8080`, `http://localhost:8080`, or `http://host-ip:8080` (as appropriate).

### Production mode with Apache2 as reverse proxy
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just a general reverse proxy setup, so not something we want to focus our very limited documentation on.

@@ -149,7 +149,7 @@ version: '3.1'
services:

ghost:
image: ghost:4-alpine
image: ghost:5
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not opposed to adding these updates to the docker-compose yaml file, but they do need to be in ghost/stack.yml since the ghost/README.md file is generated.

Technically, the compose file will work as-is on docker-compose while still preserving the image-defined volumes when creating new containers (thus preserving state), they just won't have "pretty" names to keep track of them.

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.

2 participants