.
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
8766335505
commit
f3dd17c1d3
|
@ -0,0 +1,8 @@
|
|||
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"]
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
"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"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
envsubst < /var/lib/ghost/config.production.json > __tmp && mv __tmp /var/lib/ghost/config.production.json
|
||||
node "current/index.js"
|
Reference in New Issue