35 lines
912 B
YAML
35 lines
912 B
YAML
version: '3.1'
|
|
services:
|
|
app-ghost:
|
|
image: ghost:2.38.2-alpine
|
|
volumes:
|
|
- ./data:/var/lib/ghost/content
|
|
ports:
|
|
- "2368:2368"
|
|
depends_on:
|
|
- db-ghost
|
|
restart: always
|
|
environment:
|
|
- url=http://localhost:2368
|
|
- mail__from=S.Liebl@gmx.de
|
|
- mail__transport=smtp
|
|
- mail__options__host=mail.gmx.net
|
|
- mail__options__port=587
|
|
- mail__options__secure=false
|
|
- mail__options__requireTLS=true
|
|
- mail__options__tls__ciphers=SSLv3
|
|
- mail__options__tls__rejectUnauthorized=true
|
|
- mail__options__debug=true
|
|
- mail__options__auth__user=x@y.de
|
|
- mail__options__auth__pass=xxx
|
|
db-ghost:
|
|
image: mariadb:10.4
|
|
restart: always
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=LLKALrsd82mNnst
|
|
- MYSQL_DATABASE=ghost
|
|
- MYSQL_USER=ghost
|
|
- MYSQL_PASSWORD=Pzrq2oJhooP37ax
|
|
volumes:
|
|
- ./db/:/var/lib/mysql
|