-
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.
Added Docker Cloud support and updated README. Added styling for blockquotes. Updated Sass and Bourbon Neat and included source maps. Other dependency updates.
- Loading branch information
Donovan Muller
committed
Sep 4, 2016
1 parent
da22756
commit 97d537d
Showing
20 changed files
with
238 additions
and
99 deletions.
There are no files selected for viewing
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,10 +1,11 @@ | ||
node_modules | ||
app/bower_components | ||
dist* | ||
/dist* | ||
.tmp | ||
.sass-cache | ||
.idea | ||
*.iml | ||
*.map | ||
|
||
# Ghost | ||
*.db | ||
|
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,5 +1,7 @@ | ||
{ | ||
"name": "Brage", | ||
"version": "1.2.0", | ||
"description": "Brage Ghost theme" | ||
"version": "1.3.0", | ||
"description": "Brage Ghost theme", | ||
"repository": "switchbitio/brage-ghost-theme", | ||
"license" : "MIT" | ||
} |
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,15 @@ | ||
ghost-content: | ||
image: donovanmuller/ghost-content:0.9 | ||
command: echo "Ghost content volume" | ||
autoredeploy: false | ||
|
||
ghost: | ||
image: donovanmuller/ghost-with-brage-theme:0.9 | ||
volumes_from: | ||
- ghost-content | ||
environment: | ||
- VIRTUAL_HOST=? | ||
- LETSENCRYPT_HOST=? | ||
- LETSENCRYPT_EMAIL=? | ||
- BLOG_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.8 | ||
FROM ghost:0.9 | ||
|
||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
version: "2" | ||
|
||
services: | ||
|
||
nginx-ghost-proxy-template: | ||
image: donovanmuller/nginx-ghost-proxy-template:1 | ||
container_name: nginx-ghost-proxy-template | ||
command: echo "Ghost Nginx proxy configuration volume" | ||
|
||
letsencrypt-certs: | ||
image: busybox | ||
container_name: letsencrypt-certs | ||
volumes: | ||
- "/etc/nginx/certs" | ||
command: echo "Letsencrypt certificate volume" | ||
|
||
nginx-proxy: | ||
image: nginx:1 | ||
container_name: nginx-proxy | ||
ports: | ||
- "80:80" | ||
- "443:443" | ||
volumes_from: | ||
- letsencrypt-certs | ||
- nginx-ghost-proxy-template | ||
networks: | ||
- proxy-tier | ||
|
||
nginx-gen: | ||
image: jwilder/docker-gen:0.7.3 | ||
container_name: nginx-gen | ||
volumes: | ||
- "/var/run/docker.sock:/tmp/docker.sock:ro" | ||
volumes_from: | ||
- nginx-proxy | ||
- nginx-ghost-proxy-template | ||
entrypoint: /usr/local/bin/docker-gen -notify-sighup nginx-proxy -watch -only-exposed -wait 5s:30s /etc/docker-gen/templates/nginx.tmpl /etc/nginx/conf.d/default.conf | ||
|
||
letsencrypt-nginx-proxy-companion: | ||
image: jrcs/letsencrypt-nginx-proxy-companion:latest | ||
container_name: letsencrypt-nginx-proxy-companion | ||
volumes_from: | ||
- nginx-proxy | ||
volumes: | ||
- "/var/run/docker.sock:/var/run/docker.sock:ro" | ||
environment: | ||
- NGINX_DOCKER_GEN_CONTAINER=nginx-gen | ||
|
||
content: | ||
build: content | ||
container_name: ghost-content | ||
command: echo "Ghost content volume" | ||
|
||
ghost: | ||
build: ghost | ||
container_name: ghost | ||
volumes_from: | ||
- content | ||
environment: | ||
- VIRTUAL_HOST=? | ||
- VIRTUAL_NETWORK=nginx-proxy | ||
- VIRTUAL_PORT=2368 | ||
- LETSENCRYPT_HOST=? | ||
- LETSENCRYPT_EMAIL=? | ||
- BLOG_URL=http://brage.switchbit.local.io | ||
networks: | ||
- proxy-tier | ||
|
||
networks: | ||
proxy-tier: | ||
external: | ||
name: nginx-proxy |
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,14 @@ | ||
FROM ghost:0.8 | ||
FROM ghost:0.9 | ||
|
||
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" | ||
|
||
ADD config-prod.js config.example.js | ||
|
||
ENV NODE_ENV production | ||
ENV BLOG_URL ? | ||
ENV MAILGUN_USER ? | ||
ENV MAILGUN_PASSWORD ? | ||
|
||
COPY brage-entrypoint.sh /brage-entrypoint.sh | ||
RUN ["chmod", "+x", "/brage-entrypoint.sh"] | ||
ENTRYPOINT ["/brage-entrypoint.sh"] | ||
CMD ["npm", "start"] | ||
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
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
Oops, something went wrong.