Compare commits
6 Commits
81eb9f03e8
...
f5fee003b3
Author | SHA1 | Date |
---|---|---|
xynosis | f5fee003b3 | |
Kieran Cutting | e317f23198 | |
Kieran Cutting | aaec04db86 | |
Kieran Cutting | acd5017bc4 | |
Kieran Cutting | e5e5fe40f2 | |
Kieran Cutting | b316127970 |
10
.env.sample
10
.env.sample
|
@ -5,4 +5,12 @@ DOMAIN=ghost.example.com
|
|||
## Domain aliases
|
||||
#EXTRA_DOMAINS=', `www.ghost.example.com`'
|
||||
LETS_ENCRYPT_ENV=production
|
||||
PT_ENV=production
|
||||
|
||||
## Mail settings
|
||||
#MAIL_TRANSPORT=smtp
|
||||
#MAIL_FROM=admin@example.com
|
||||
#MAIL_OPTIONS_HOST=mail.example.com
|
||||
#MAIL_OPTIONS_PORT=587
|
||||
#MAIL_OPTIONS_SECURE=false
|
||||
#MAIL_OPTIONS_AUTH_USER=smtpuser@example.com
|
||||
#MAIL_OPTIONS_AUTH_PASS=XXXX
|
|
@ -1 +1,2 @@
|
|||
.envrc
|
||||
.DS_Store
|
|
@ -9,7 +9,7 @@ Headless Node.js CMS for professional publishing
|
|||
* **Image**:
|
||||
* **Healthcheck**:
|
||||
* **Backups**:
|
||||
* **Email**:
|
||||
* **Email**: Y
|
||||
* **Tests**:
|
||||
* **SSO**:
|
||||
|
||||
|
@ -22,10 +22,9 @@ Headless Node.js CMS for professional publishing
|
|||
3. `abra app new ${REPO_NAME} --secrets` (optionally with `--pass` if you'd like
|
||||
to save secrets in `pass`)
|
||||
4. `abra app YOURAPPDOMAIN config` - be sure to change `$DOMAIN` to something that resolves to
|
||||
your Docker swarm box
|
||||
your Docker swarm box, and configure mail if you intend to invite anyone else to the site
|
||||
5. `abra app YOURAPPDOMAIN deploy`
|
||||
6. Open the configured domain in your browser to finish set-up
|
||||
|
||||
[`abra`]: https://git.coopcloud.tech/coop-cloud/abra
|
||||
[`coop-cloud/traefik`]: https://git.coopcloud.tech/coop-cloud/traefik
|
||||
/coop-cloud/traefik
|
||||
|
|
11
compose.yml
11
compose.yml
|
@ -1,8 +1,7 @@
|
|||
version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: ghost:4-alpine
|
||||
image: ghost:5-alpine
|
||||
environment:
|
||||
# see https://ghost.org/docs/config/#configuration-options
|
||||
database__client: mysql
|
||||
|
@ -11,6 +10,13 @@ services:
|
|||
database__connection__password: ghost
|
||||
database__connection__database: ghost
|
||||
url: https://$DOMAIN
|
||||
mail__transport: ${MAIL_TRANSPORT}
|
||||
mail__from: ${MAIL_FROM}
|
||||
mail__options__host: ${MAIL_OPTIONS_HOST}
|
||||
mail__options__port: ${MAIL_OPTIONS_PORT}
|
||||
mail__options__secure: ${MAIL_OPTIONS_SECURE}
|
||||
#mail__options__auth__user: ${MAIL_OPTIONS_AUTH_USER}
|
||||
#mail__options__auth__pass: ${MAIL_OPTIONS_AUTH_PASS}
|
||||
# contrary to the default mentioned in the linked documentation, this image defaults to NODE_ENV=production (so development mode needs to be explicitly specified if desired)
|
||||
#NODE_ENV: development
|
||||
networks:
|
||||
|
@ -33,6 +39,7 @@ services:
|
|||
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
||||
- "backupbot.backup=true"
|
||||
- "backupbot.backup.path=/var/lib/ghost/content"
|
||||
- "coop-cloud.${STACK_NAME}.version=0.1.0+5.2.4"
|
||||
# healthcheck:
|
||||
# test: ["CMD", "curl", "-f", "http://localhost"]
|
||||
# interval: 30s
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
This seems stable so far. This release adds mail configs to the env file and updates to the most recent version of Ghost.
|
||||
|
||||
I've only tested the mail settings with SMTP so far, so your mileage may vary. Adding the mail settings means you can add other contributors to your Ghost instance, which you couldn't before.
|
||||
|
||||
If you have any issues, Ghost is using nodemailer for mail under the hood so check their docs for any config options you may need. Happy to help if you do notice anything odd.
|
||||
|
||||
@xynosis (fractals co-op)
|
Loading…
Reference in New Issue