6 Commits

6 changed files with 24 additions and 8 deletions

View File

@ -2,7 +2,6 @@
#SECRET_SMTP_PASSWORD_VERSION=v1
TYPE=ghost
#IMAGE_VERSION=6.3.1
DOMAIN=ghost.example.com
@ -15,18 +14,24 @@ SECRET_DB_PASSWORD_VERSION=v1
SECRET_SMTP_PASSWORD_VERSION=v1
## Mail settings (mandatory)
#MAIL_TRANSPORT=smtp
#MAIL_FROM=admin@example.com
#MAIL_OPTIONS_HOST=mail.example.com
#MAIL_OPTIONS_PORT=587
MAIL_TRANSPORT=smtp
MAIL_FROM=admin@example.com
MAIL_OPTIONS_HOST=mail.example.com
MAIL_OPTIONS_PORT=587
MAIL_OPTIONS_AUTH_USER=smtpuser@example.com
#MAIL_OPTIONS_SECURE=false
#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
COMPOSE_FILE="compose.yml"
## Matrix-Synapse-Redirection
# COMPOSE_FILE="$COMPOSE_FILE:compose.matrix.yml"
# MATRIX_DOMAIN=matrix-synapse.example.com
## Custom Image Version
# COMPOSE_FILE="$COMPOSE_FILE:compose.customversion.yml"
# IMAGE_VERSION=6.3.1

View File

@ -0,0 +1,3 @@
services:
app:
image: ghost:${IMAGE_VERSION}-alpine

View File

@ -1,6 +1,6 @@
services:
app:
image: ghost:${IMAGE_VERSION:-6}-alpine
image: ghost:6.21.2-alpine
environment:
# see https://ghost.org/docs/config/#configuration-options
database__client: mysql
@ -51,7 +51,7 @@ services:
- "traefik.http.middlewares.${STACK_NAME}-redirect.redirectscheme.permanent=true"
- "backupbot.backup=true"
- "backupbot.backup.path=/var/lib/ghost/content"
- "coop-cloud.${STACK_NAME}.version=1.1.1+6-alpine"
- "coop-cloud.${STACK_NAME}.version=1.2.0+6.21.2-alpine"
healthcheck:
test: ["CMD", "wget", "--header=X-Forwarded-Proto: https", "--spider", "-q", "http://localhost:2368/ghost/api/admin/site"]
interval: 30s

1
release/1.1.1+6-alpine Normal file
View File

@ -0,0 +1 @@
set mysql-pooling default to 0, added option to set it via env

View File

@ -0,0 +1 @@
move IMAGE_VERSION in extra compose file to make sure, main is always a knowingly working version

6
renovate.json Normal file
View File

@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
]
}