Compare commits
2 Commits
1f30f559d8
...
153efbff54
| Author | SHA1 | Date | |
|---|---|---|---|
| 153efbff54 | |||
| fa435853de |
@@ -1 +1,38 @@
|
||||
TBD!
|
||||
# 2026-05-29 Hyperling
|
||||
# Supposedly much more resource friendly alternative to WordPress, which I typically avoid due to the resource usage andd slow response times.
|
||||
# https://hub.docker.com/_/ghost
|
||||
|
||||
services:
|
||||
|
||||
app:
|
||||
container_name: ghost-app
|
||||
image: ghost:bookworm
|
||||
restart: always
|
||||
ports:
|
||||
- 8068:2368
|
||||
environment:
|
||||
# see https://ghost.org/docs/config/#configuration-options
|
||||
database__client: mysql
|
||||
database__connection__host: db
|
||||
database__connection__user: root
|
||||
database__connection__password: example
|
||||
database__connection__database: ghost
|
||||
# this url value is just an example, and is likely wrong for your environment!
|
||||
#url: http://localhost:8080
|
||||
# contrary to the default mentioned in the linked documentation, this image defaults to NODE_ENV=production (so development mode needs to be explicitly specified if desired)
|
||||
#NODE_ENV: development
|
||||
volumes:
|
||||
- ../../Volumes/Ghost/ghost:/var/lib/ghost/content
|
||||
|
||||
db:
|
||||
container_name: ghost-db
|
||||
image: mariadb:lts
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: example
|
||||
volumes:
|
||||
- ../../Volumes/Ghost/db:/var/lib/mysql
|
||||
|
||||
volumes:
|
||||
ghost:
|
||||
db:
|
||||
|
||||
@@ -1 +1,58 @@
|
||||
TBD!
|
||||
# This file needs copied to `.env` and have its values changes as needed.
|
||||
|
||||
## Docker ##
|
||||
|
||||
COMPOSE_BAKE=true
|
||||
|
||||
## End Docker ##
|
||||
|
||||
|
||||
## Ghost ##
|
||||
|
||||
# TBD/TODO
|
||||
|
||||
## End Ghost ##
|
||||
|
||||
|
||||
## Database ##
|
||||
|
||||
MARIADB_DATABASE='ghost'
|
||||
|
||||
#MARIADB_USER='db_user'
|
||||
#MARIADB_PASSWORD='database_password'
|
||||
|
||||
MARIADB_ROOT_PASSWORD='db_root_password'
|
||||
|
||||
# Comment this if you do not want MariaDB to run upgrade scripts on new versions.
|
||||
MARIADB_AUTO_UPGRADE=1
|
||||
|
||||
## End Database ##
|
||||
|
||||
|
||||
## Performance ##
|
||||
|
||||
# Standard Minimum
|
||||
#GHOST_CPU=1.00
|
||||
#GHOST_MEM=2.00G
|
||||
#GHOST_CPU_DB=1.00
|
||||
#GHOST_MEM_DB=1.00G
|
||||
|
||||
# Standard Recommended
|
||||
#GHOST_CPU=1.00
|
||||
#GHOST_MEM=4.00G
|
||||
#GHOST_CPU_DB=1.00
|
||||
#GHOST_MEM_DB=0.50G
|
||||
|
||||
# Tested Minimum
|
||||
#GHOST_CPU=0.35
|
||||
#GHOST_MEM=0.35G
|
||||
#GHOST_CPU_DB=0.15
|
||||
#GHOST_MEM_DB=0.15G
|
||||
|
||||
# Tested Recommended
|
||||
## GHOST_CPU=0.50
|
||||
## GHOST_MEM=0.50G
|
||||
## GHOST_CPU_DB=0.25
|
||||
## GHOST_MEM_DB=0.25G
|
||||
|
||||
## End Performance ##
|
||||
|
||||
Reference in New Issue
Block a user