From 87c7bb27ad76e238c88a471240b990aa082430de Mon Sep 17 00:00:00 2001 From: Giles Bradshaw Date: Thu, 30 Apr 2020 22:28:40 +0100 Subject: [PATCH] . --- .drone-home.star | 2 +- ghost/Dockerfile | 8 -------- ghost/config.production.json | 33 --------------------------------- ghost/run.sh | 2 -- 4 files changed, 1 insertion(+), 44 deletions(-) delete mode 100644 ghost/Dockerfile delete mode 100644 ghost/config.production.json delete mode 100644 ghost/run.sh diff --git a/.drone-home.star b/.drone-home.star index 8b6de3a..1db4636 100644 --- a/.drone-home.star +++ b/.drone-home.star @@ -6,7 +6,7 @@ load("@this//stack:stack-root.star", "stackRoot") def main(ctx): return drone( ctx, - "home-deploy", + "stack-deploy", stackRoot, stackName, [ diff --git a/ghost/Dockerfile b/ghost/Dockerfile deleted file mode 100644 index 816d659..0000000 --- a/ghost/Dockerfile +++ /dev/null @@ -1,8 +0,0 @@ -FROM ghost -# USER root -RUN apt-get update -RUN apt-get install -y gettext - -COPY config.production.json /var/lib/ghost/ -COPY run.sh / -CMD ["sh", "/run.sh"] diff --git a/ghost/config.production.json b/ghost/config.production.json deleted file mode 100644 index efcba1f..0000000 --- a/ghost/config.production.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "url": "https://${GIT_DOMAIN}/blog", - "server": { - "port": 2368, - "host": "0.0.0.0" - }, - "database": { - "client": "sqlite3", - "connection": { - "filename": "/var/lib/ghost/content/data/ghost.db" - } - }, - "mail": { - "transport": "SMTP", - "options": { - "service": "${GHOST_MAIL_SERVICE}", - "auth": { - "user": "${GHOST_MAIL_USER}", - "pass": "${GHOST_MAIL_PASSWORD}" - } - } - }, - "logging": { - "transports": [ - "file", - "stdout" - ] - }, - "process": "systemd", - "paths": { - "contentPath": "/var/lib/ghost/content" - } -} diff --git a/ghost/run.sh b/ghost/run.sh deleted file mode 100644 index fa26089..0000000 --- a/ghost/run.sh +++ /dev/null @@ -1,2 +0,0 @@ -envsubst < /var/lib/ghost/config.production.json > __tmp && mv __tmp /var/lib/ghost/config.production.json -node "current/index.js" \ No newline at end of file