You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Create environment variable for API KEY and sync content from ghost remote #424
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: ?
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. 😇
Activity
tianon commentedon 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 commentedon 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. 😇