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

url setting #132

Closed
msmcgillis opened this issue May 10, 2018 · 3 comments

Comments

@msmcgillis
Copy link

commented May 10, 2018

Would be nice to support:

ENV GHOST_URL http://localhost:2368
...
u-exec node ghost config --ip 0.0.0.0 --port 2368 --no-prompt --db sqlite3 --url $GHOST_URL --dbpath "$GHOST_CONTENT/data/ghost.db"; \

so then one can:

$ docker run -e GHOST_URL=http://test.domain.com  ...

so you can control the proper server name without going in and adjusting the docker config file.

@SISheogorath

This comment has been minimized.

Copy link

commented May 10, 2018

Seems like this idea pops up weekly and no one gets that it's already there. Natively in ghost itself:

https://docs.ghost.org/docs/config#section-running-ghost-with-config-env-variables

Related issue: #77

@msmcgillis

This comment has been minimized.

Copy link
Author

commented May 10, 2018

So it is:

docker run -e url=http://test.domain.com ...

My 2c would be reference your above URL from https://hub.docker.com/_/ghost/ with a note about ghosts native support for additional environment variable.

@msmcgillis

This comment has been minimized.

Copy link
Author

commented May 10, 2018

Your url is on the page but not currently clickable and it was not exactly in a context that made me think oh ghost supports a bunch of other environment values let me see what they are. Thanks for the pointer.

@msmcgillis msmcgillis closed this May 10, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.