-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
base: master
Are you sure you want to change the base?
Conversation
Adds the information about how to set up apache2 as a reverse proxy with the appropriate headers
There was a problem hiding this 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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
Adds the information about how to set up apache2 as a reverse proxy with the appropriate headers