mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-05-06 03:23:57 +00:00
Update docker-compose-rpi-arm.yml
add envs
This commit is contained in:
parent
0ab1d2db62
commit
1403cc6bec
@ -11,19 +11,19 @@ services:
|
|||||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/ghost/content:/var/lib/ghost/content
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/ghost/content:/var/lib/ghost/content
|
||||||
environment:
|
environment:
|
||||||
# see https://ghost.org/docs/config/#configuration-options
|
# see https://ghost.org/docs/config/#configuration-options
|
||||||
database__client: mysql
|
database__client: ${DB_CLIENT:-mysql}
|
||||||
database__connection__host: database
|
database__connection__host: ${DB_HOST:-database}
|
||||||
database__connection__user: ghost_dbuser
|
database__connection__user: ${DB_USER:-ghost}
|
||||||
database__connection__password: SecureDatabasePassword
|
database__connection__password: ${DB_PASS:-DatabasePassword1234}
|
||||||
database__connection__database: ghost
|
database__connection__database: ${DB_NAME:-ghost}
|
||||||
url: https://blog.example.com
|
#url: https://blog.example.com # change this for production
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
#mail__transport: SMTP
|
#mail__transport: SMTP
|
||||||
#mail__options__host: smtp.google.com
|
#mail__options__host: ${SMTP_HOST:-smtp.google.com}
|
||||||
#mail__options__port: 587
|
#mail__options__port: ${SMTP_PORT:-587}
|
||||||
#mail__options__auth__user: blog@example.com
|
#mail__options__auth__user: ${SMTP_USER:-blog@example.com}
|
||||||
#mail__options__auth__pass: SecureSmtpPassword
|
#mail__options__auth__pass: ${SMTP_PASS:-SMTPPassword}
|
||||||
#mail__from: My Blog <blog@example.com>
|
#mail__from: ${SMTP_MAIL_FROM:-Ghost}
|
||||||
|
|
||||||
database:
|
database:
|
||||||
image: linuxserver/mariadb
|
image: linuxserver/mariadb
|
||||||
@ -31,11 +31,11 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
- MYSQL_ROOT_PASSWORD=SecureDatabaseRootPassword
|
- MYSQL_ROOT_PASSWORD=${DB_ROOT_PASS:-DatabasePassword1234}
|
||||||
- TZ=Europe/Berlin
|
- TZ=Europe/Berlin
|
||||||
- MYSQL_DATABASE=ghost
|
- MYSQL_DATABASE=${DB_NAME:-ghost}
|
||||||
- MYSQL_USER=ghost_dbuser
|
- MYSQL_USER=${DB_USER:-ghost}
|
||||||
- MYSQL_PASSWORD=SecureDatabasePassword
|
- MYSQL_PASSWORD=${DB_PASS:-DatabasePassword1234}
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/ghost/mariadb/config:/config
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/ghost/mariadb/config:/config
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
Loading…
x
Reference in New Issue
Block a user