From 245833c09542a3b9fd2e2c15e7d735f2b61a8e5a Mon Sep 17 00:00:00 2001 From: Stefan Liebl Date: Thu, 9 Jul 2020 11:58:55 +0200 Subject: [PATCH] ghost --- .gitignore | 2 ++ docker-compose.yaml | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 .gitignore create mode 100644 docker-compose.yaml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4d25ec9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +data +db diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..6ff6924 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,34 @@ +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