This commit is contained in:
giles 2024-11-19 08:51:13 +00:00
parent 289b17f395
commit 9a19de8c4a
5 changed files with 35 additions and 2 deletions

2
.gitignore vendored
View File

@ -3,4 +3,4 @@
.db-root-password
.env
themes
.email-old

View File

@ -1,4 +1,4 @@
FROM ghost:5.98.1-alpine
FROM ghost:5.94.1-alpine
RUN apk update && apk add gettext
COPY config.production.template /var/lib/ghost/
COPY log-rotate /etc/logrotate.d/ghost

View File

@ -7,6 +7,7 @@ services:
NODE_ENV: production
volumes:
- ghost-content:/var/lib/ghost/content
- ./settings:/var/lib/ghost/content/settings
- ./themes/:/var/lib/ghost/content/themes
networks:
- appnet

View File

@ -0,0 +1,13 @@
routes:
collections:
/:
permalink: /{slug}/
template: index
/pub/:
permalink: /pub/{slug}/
template: index
filter: tag:-pub-nights
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/

19
settings/routes.yaml Normal file
View File

@ -0,0 +1,19 @@
routes:
#/: head
/tag/{slug}/: head
/tags/: head
/authors/: head
/author/{slug}/: head
#/{slug}/: head
#/{slug}/{slug-1}/: head
#/{slug}/{slug-1}/{slug-2}/: head
collections:
/:
permalink: /{slug}/
#template: head
taxonomies:
tag: /tag/{slug}/
# - template: head
author: /author/{slug}/
#- template: head