Skip to content

Commit e696dd6

Browse files
committed
Update Ghost image version and environment variables
1 parent 38e417b commit e696dd6

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

blueprints/ghost/docker-compose.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
version: "3.8"
22
services:
33
ghost:
4-
image: ghost:6-alpine
4+
image: ghost:6.19.3-alpine
55
restart: always
66
environment:
77
database__client: mysql
88
database__connection__host: db
99
database__connection__user: root
10-
database__connection__password: example
10+
database__connection__password: "${DATABASE_ROOT_PASSWORD}"
1111
database__connection__database: ghost
1212
url: http://${GHOST_HOST}
1313

@@ -17,9 +17,8 @@ services:
1717
db:
1818
image: mysql:8.0
1919
restart: always
20-
2120
environment:
22-
MYSQL_ROOT_PASSWORD: example
21+
MYSQL_ROOT_PASSWORD: "${DATABASE_ROOT_PASSWORD}"
2322
volumes:
2423
- db:/var/lib/mysql
2524

blueprints/ghost/template.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
[variables]
22
main_domain = "${domain}"
3+
mysql_root_password = "${password:32}"
34

45
[config]
5-
env = ["GHOST_HOST=${main_domain}"]
66
mounts = []
77

8+
[config.env]
9+
GHOST_HOST="${main_domain}"
10+
DATABASE_ROOT_PASSWORD="${mysql_root_password}"
11+
812
[[config.domains]]
913
serviceName = "ghost"
1014
port = 2_368

meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2617,7 +2617,7 @@
26172617
{
26182618
"id": "ghost",
26192619
"name": "Ghost",
2620-
"version": "6.0.0",
2620+
"version": "6.19.3",
26212621
"description": "Ghost is a free and open source, professional publishing platform built on a modern Node.js technology stack.",
26222622
"logo": "ghost.jpeg",
26232623
"links": {

0 commit comments

Comments
 (0)