Compare commits
4 Commits
1.0.1+5-al
...
1.1.1+6-al
| Author | SHA1 | Date | |
|---|---|---|---|
| 89a9b369bb | |||
| ccc8ee11e9 | |||
| 900386ffa7 | |||
| 1126e8cdf5 |
@ -2,6 +2,7 @@
|
|||||||
#SECRET_SMTP_PASSWORD_VERSION=v1
|
#SECRET_SMTP_PASSWORD_VERSION=v1
|
||||||
|
|
||||||
TYPE=ghost
|
TYPE=ghost
|
||||||
|
#IMAGE_VERSION=6.3.1
|
||||||
|
|
||||||
DOMAIN=ghost.example.com
|
DOMAIN=ghost.example.com
|
||||||
|
|
||||||
@ -21,6 +22,11 @@ SECRET_SMTP_PASSWORD_VERSION=v1
|
|||||||
#MAIL_OPTIONS_SECURE=false
|
#MAIL_OPTIONS_SECURE=false
|
||||||
#MAIL_OPTIONS_AUTH_USER=smtpuser@example.com
|
#MAIL_OPTIONS_AUTH_USER=smtpuser@example.com
|
||||||
|
|
||||||
|
## Advanced options
|
||||||
|
# see here: https://docs.ghost.org/config#number-of-connections
|
||||||
|
#DATABASE_POOL_MIN=2
|
||||||
|
#DATABASE_POOL_MAX=15
|
||||||
|
|
||||||
## Matrix-Synapse-Redirection
|
## Matrix-Synapse-Redirection
|
||||||
# COMPOSE_FILE="$COMPOSE_FILE:compose.matrix.yml"
|
# COMPOSE_FILE="$COMPOSE_FILE:compose.matrix.yml"
|
||||||
# MATRIX_DOMAIN=matrix-synapse.example.com
|
# MATRIX_DOMAIN=matrix-synapse.example.com
|
||||||
|
|||||||
10
compose.yml
10
compose.yml
@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: ghost:5-alpine
|
image: ghost:${IMAGE_VERSION:-6}-alpine
|
||||||
environment:
|
environment:
|
||||||
# see https://ghost.org/docs/config/#configuration-options
|
# see https://ghost.org/docs/config/#configuration-options
|
||||||
database__client: mysql
|
database__client: mysql
|
||||||
@ -8,6 +8,8 @@ services:
|
|||||||
database__connection__user: root
|
database__connection__user: root
|
||||||
database__connection__database: ghost
|
database__connection__database: ghost
|
||||||
database__connection__password_FILE: /run/secrets/db_password
|
database__connection__password_FILE: /run/secrets/db_password
|
||||||
|
database__pool__min: ${DATABASE_POOL_MIN:-0}
|
||||||
|
database__pool__max: ${DATABASE_POOL_MAX:-10}
|
||||||
url: https://$DOMAIN
|
url: https://$DOMAIN
|
||||||
mail__transport: ${MAIL_TRANSPORT}
|
mail__transport: ${MAIL_TRANSPORT}
|
||||||
mail__from: ${MAIL_FROM}
|
mail__from: ${MAIL_FROM}
|
||||||
@ -45,11 +47,11 @@ services:
|
|||||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||||
# Redirect from EXTRA_DOMAINS to DOMAIN
|
# Redirect from EXTRA_DOMAINS to DOMAIN
|
||||||
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
|
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
|
||||||
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
|
- "traefik.http.middlewares.${STACK_NAME}-redirect.redirectscheme.scheme=https"
|
||||||
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
- "traefik.http.middlewares.${STACK_NAME}-redirect.redirectscheme.permanent=true"
|
||||||
- "backupbot.backup=true"
|
- "backupbot.backup=true"
|
||||||
- "backupbot.backup.path=/var/lib/ghost/content"
|
- "backupbot.backup.path=/var/lib/ghost/content"
|
||||||
- "coop-cloud.${STACK_NAME}.version=1.0.1+5-alpine"
|
- "coop-cloud.${STACK_NAME}.version=1.1.1+6-alpine"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "wget", "--header=X-Forwarded-Proto: https", "--spider", "-q", "http://localhost:2368/ghost/api/admin/site"]
|
test: ["CMD", "wget", "--header=X-Forwarded-Proto: https", "--spider", "-q", "http://localhost:2368/ghost/api/admin/site"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
|
|||||||
1
release/1.1.0+6-alpine
Normal file
1
release/1.1.0+6-alpine
Normal file
@ -0,0 +1 @@
|
|||||||
|
when deploying, healthchecks may fail once, it seems to be caused by a database update/migration needing more time. Just wait some time and deploy again
|
||||||
Reference in New Issue
Block a user