fixed image version as default, extra compose file for custom image version #7
17
.env.sample
17
.env.sample
@ -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
|
||||
3
compose.customversion.yml
Normal file
3
compose.customversion.yml
Normal file
@ -0,0 +1,3 @@
|
||||
services:
|
||||
app:
|
||||
image: ghost:${IMAGE_VERSION}-alpine
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user