-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1 parent
3fd9d3a
commit 1454790
Showing
13 changed files
with
73 additions
and
6,107 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
ghost-content: | ||
image: donovanmuller/ghost-content:0.11.9 | ||
image: donovanmuller/ghost-content:1.19.0 | ||
command: echo "Ghost content volume" | ||
autoredeploy: false | ||
|
||
ghost: | ||
image: donovanmuller/ghost-with-brage-theme:0.11.9 | ||
image: donovanmuller/ghost-with-brage-theme:1.19.0 | ||
volumes_from: | ||
- ghost-content | ||
environment: | ||
- VIRTUAL_HOST=? | ||
- LETSENCRYPT_HOST=? | ||
- LETSENCRYPT_EMAIL=? | ||
- BLOG_URL=? | ||
- url=? | ||
restart: always |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
FROM ghost:0.11.9 | ||
FROM ghost:1.19.0-alpine | ||
|
||
VOLUME $GHOST_CONTENT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,22 @@ | ||
FROM ghost:0.11.9 | ||
FROM ghost:1.19.0-alpine | ||
|
||
WORKDIR $GHOST_SOURCE | ||
ADD dist/ content/themes/brage | ||
RUN sed -i.bak s/casper/brage/g "/usr/src/ghost/core/server/data/schema/default-settings.json" | ||
WORKDIR $GHOST_INSTALL | ||
|
||
ADD config-prod.js config.example.js | ||
ADD dist/ current/content/themes/brage | ||
RUN apk update && \ | ||
apk --no-cache add jq | ||
RUN jq '.theme.active_theme.defaultValue="brage" \ | ||
| .blog.logo.defaultValue=null \ | ||
| .blog.cover_image.defaultValue=null' \ | ||
current/core/server/data/schema/default-settings.json \ | ||
> /tmp/default-settings.json && \ | ||
mv /tmp/default-settings.json current/core/server/data/schema/default-settings.json | ||
|
||
ADD config.production.json config.production.json | ||
|
||
ENV NODE_ENV production | ||
ENV BLOG_URL ? | ||
ENV MAILGUN_USER ? | ||
ENV MAILGUN_PASSWORD ? | ||
ENV url ? | ||
ENV mail__options__auth__user ? | ||
ENV mail__options__auth__pass ? | ||
|
||
EXPOSE 2368 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"url": "url", | ||
"server": { | ||
"host": "0.0.0.0", | ||
"port": 2368 | ||
}, | ||
"database": { | ||
"client": "sqlite3", | ||
"connection": { | ||
"filename": "content/data/ghost.db" | ||
}, | ||
"debug": false | ||
}, | ||
"paths": { | ||
"contentPath": "content/" | ||
}, | ||
"mail": { | ||
"transport": "SMTP", | ||
"options": { | ||
"service": "Mailgun" | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters