This commit is contained in:
parent
289b17f395
commit
9a19de8c4a
|
@ -3,4 +3,4 @@
|
|||
.db-root-password
|
||||
.env
|
||||
themes
|
||||
|
||||
.email-old
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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}/
|
|
@ -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
|
Loading…
Reference in New Issue