2024-10-24 13:15:08 -05:00
{
"name" : "Ghost Local DevContainer" ,
2024-10-29 21:22:58 -05:00
"features" : {
"ghcr.io/devcontainers/features/github-cli:1" : { } ,
"ghcr.io/nils-geistmann/devcontainers-features/zsh:0" : {
"plugins" : "git yarn gh"
}
} ,
2024-11-18 17:15:11 -05:00
"dockerComposeFile" : [ "./compose.yml" ] ,
2024-10-24 13:15:08 -05:00
"service" : "ghost" ,
"workspaceFolder" : "/workspaces/${localWorkspaceFolderBasename}" ,
"shutdownAction" : "stopCompose" ,
2024-10-29 15:03:49 -05:00
"onCreateCommand" : [ "node" , "./.devcontainer/onCreateCommand.js" ] ,
2024-10-24 13:15:08 -05:00
"updateContentCommand" : [ "git" , "submodule" , "update" , "--init" , "--recursive" ] ,
"postCreateCommand" : [ "yarn" , "knex-migrator" , "init" ] ,
"remoteEnv" : {
"STRIPE_SECRET_KEY" : "${localEnv:STRIPE_SECRET_KEY}" ,
"STRIPE_API_KEY" : "${localEnv:STRIPE_SECRET_KEY}" ,
"STRIPE_PUBLISHABLE_KEY" : "${localEnv:STRIPE_PUBLISHABLE_KEY}" ,
"STRIPE_ACCOUNT_ID" : "${localEnv:STRIPE_ACCOUNT_ID}" ,
"MAILGUN_SMTP_USER" : "${localEnv:MAILGUN_SMTP_USER}" ,
"MAILGUN_SMTP_PASS" : "${localEnv:MAILGUN_SMTP_PASS}" ,
2024-10-28 18:14:04 -05:00
"MAILGUN_FROM_ADDRESS" : "${localEnv:MAILGUN_FROM_ADDRESS}" ,
2024-10-24 13:15:08 -05:00
"MAILGUN_API_KEY" : "${localEnv:MAILGUN_API_KEY}" ,
2024-10-29 16:52:44 -05:00
"MAILGUN_DOMAIN" : "${localEnv:MAILGUN_DOMAIN}" ,
"GHOST_UPSTREAM" : "${localEnv:GHOST_UPSTREAM}" ,
"GHOST_FORK_REMOTE_URL" : "${localEnv:GHOST_FORK_REMOTE_URL}" ,
"GHOST_FORK_REMOTE_NAME" : "${localEnv:GHOST_FORK_REMOTE_NAME}" ,
"GHOST_FORCE_SSH" : "${localEnv:GHOST_FORCE_SSH}"
2024-10-24 13:15:08 -05:00
} ,
"forwardPorts" : [ 2368 , 4200 ] ,
"portsAttributes" : {
"80" : {
"onAutoForward" : "ignore"
} ,
"2368" : {
"label" : "Ghost"
} ,
"2369" : {
"label" : "Ghost (Test Server)" ,
"onAutoForward" : "silent"
} ,
"2370" : {
"label" : "Ghost (Test Server)" ,
"onAutoForward" : "silent"
} ,
"2371" : {
"label" : "Ghost (Test Server)" ,
"onAutoForward" : "silent"
} ,
"2372" : {
"label" : "Ghost (Test Server)" ,
"onAutoForward" : "silent"
} ,
"2373" : {
"label" : "Ghost (Test Server)" ,
"onAutoForward" : "silent"
} ,
"4200" : {
"label" : "Admin" ,
"onAutoForward" : "silent"
} ,
"4201" : {
"label" : "Admin Live Reload" ,
"onAutoForward" : "silent"
} ,
"4175" : {
"label" : "Portal" ,
} ,
"4176" : {
"label" : "Portal (HTTPS)" ,
"protocol" : "https"
} ,
"4177" : {
"label" : "Announcement Bar"
} ,
"4178" : {
"label" : "Search"
} ,
"4173" : {
"label" : "Lexical"
} ,
"41730" : {
"label" : "Lexical (HTTPS)" ,
"protocol" : "https"
} ,
"6174" : {
"label" : "Signup Form" ,
"onAutoForward" : "silent"
} ,
"7173" : {
"label" : "Comments"
} ,
"7174" : {
"label" : "Comments (HTTPS)" ,
"protocol" : "https"
} ,
"9174" : {
"label" : "Prometheus Metrics Exporter" ,
"onAutoForward" : "silent"
} ,
"5173" : {
"onAutoForward" : "silent"
} ,
"5368" : {
"onAutoForward" : "silent"
}
} ,
"customizations" : {
"vscode" : {
"settings" : {
"terminal.integrated.defaultProfile.linux" : "zsh" ,
"terminal.integrated.profiles.linux" : { "zsh" : { "path" : "/bin/zsh" } }
} ,
"extensions" : [
"ms-azuretools.vscode-docker"
]
}
} ,
"secrets" : {
"STRIPE_SECRET_KEY" : {
"description" : "Your Stripe account's test secret API key" ,
"documentationUrl" : "https://dashboard.stripe.com/test/apikeys"
} ,
"STRIPE_PUBLISHABLE_KEY" : {
"description" : "Your Stripe account's test publishable key" ,
"documentationUrl" : "https://dashboard.stripe.com/test/apikeys"
} ,
"STRIPE_ACCOUNT_ID" : {
"description" : "Your Stripe Account ID" ,
"documentationUrl" : "https://dashboard.stripe.com/settings/account"
} ,
"MAILGUN_SMTP_USER" : {
"description" : "Your Mailgun account's SMTP username, e.g. postmaster@sandbox1234567890.mailgun.org. You can find this in the Mailgun dashboard under Sending -> Domains -> Select your domain -> SMTP." ,
"documentationUrl" : "https://app.mailgun.com/mg/sending/domains"
} ,
"MAILGUN_SMTP_PASS" : {
"description" : "Your Mailgun account's SMTP password" ,
"documentationUrl" : "https://app.mailgun.com/mg/sending/domains"
} ,
2024-10-28 18:14:04 -05:00
"MAILGUN_FROM_ADDRESS" : {
"description" : "The email address that will be used as the `from` address when sending emails via Mailgun" ,
"documentationUrl" : "https://app.mailgun.com/mg/sending/domains"
} ,
2024-10-24 13:15:08 -05:00
"MAILGUN_API_KEY" : {
"description" : "Your Mailgun account's API key" ,
2024-10-28 18:14:04 -05:00
"documentationUrl" : "https://app.mailgun.com/mg/sending/domains"
2024-10-24 13:15:08 -05:00
} ,
"MAILGUN_DOMAIN" : {
"description" : "Your Mailgun account's domain, e.g. sandbox1234567890.mailgun.org" ,
2024-10-28 18:14:04 -05:00
"documentationUrl" : "https://app.mailgun.com/mg/sending/domains"
2024-10-24 13:15:08 -05:00
}
}
}