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

Create environment variable for API KEY and sync content from ghost remote #424

Open
jsulopzs opened this issue Aug 31, 2024 · 2 comments
Open

Comments

@jsulopzs
Copy link

jsulopzs commented Aug 31, 2024

It'd be great to have an environment variable GHOST_API_KEY that enables access to remote Ghost content from the domain:

version: "3.1"

services:
  ghost:
    image: ghost:alpine
    ports:
      - "3001:2368"
    volumes:
      # Mount only the specific directories you need
      - ./ghost-content:/var/lib/ghost/content
    environment:
      NODE_ENV: development
      database__connection__filename: /var/lib/ghost/content/data/ghost.db
      url: https://website.ghost.io
      GHOST_API_KEY: ?
@tianon
Copy link
Member

tianon commented Sep 3, 2024

As far as I know, API keys in Ghost are something the Ghost platform itself generates, not something that can be configured, right?

(Admittedly not something I'm terribly familiar with; doing my best with what I can find on https://ghost.org/docs/content-api/ 😄)

@tianon
Copy link
Member

tianon commented Sep 3, 2024

To put that another way, I believe this being externally-configurable instead of simply internally-generated is probably a feature request/wishlist item for the upstream Ghost project itself. 😇

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

No branches or pull requests

2 participants