docs: update applications/ghost

This commit is contained in:
Administrator 2025-08-28 18:31:44 +00:00 committed by WikiJs
parent 8466a0eb42
commit b95b1d3a06

View file

@ -2,7 +2,7 @@
title: Untitled Page title: Untitled Page
description: description:
published: true published: true
date: 2025-08-28T18:07:31.592Z date: 2025-08-28T18:31:42.689Z
tags: tags:
editor: markdown editor: markdown
dateCreated: 2025-08-28T18:07:31.592Z dateCreated: 2025-08-28T18:07:31.592Z
@ -36,18 +36,18 @@ services:
restart: always restart: always
environment: environment:
database__client: mysql database__client: mysql
database__connection__host: ghost_db database__connection__host: ${SERVICE}_db
database__connection__user: ${MYSQL_USER} database__connection__user: ${MYSQL_USER}
database__connection__password: ${MYSQL_PASSWORD} database__connection__password: ${MYSQL_PASSWORD}
database__connection__database: ${MYSQL_DATABASE} database__connection__database: ${MYSQL_DATABASE}
mail__transport: "SMTP"
mail__from: ${MAIL_FROM} mail__from: ${MAIL_FROM}
mail__transport: SMTP
mail__options__host: ${MAIL_HOST} mail__options__host: ${MAIL_HOST}
mail__options__port: ${MAIL_PORT} mail__options__port: ${MAIL_PORT}
mail__options__secure: ${MAIL_SECURE} mail__options__secure: ${MAIL_SECURE}
mail__options__auth__user: ${MAIL_USER} mail__options__auth__user: ${MAIL_SECURE}
mail__options__auth__pass: ${MAIL_PASS} mail__options__auth__pass: ${MAIL_PASS}
url: https://${DOMAIN} url: "https://${DOMAIN}/"
volumes: volumes:
- ./content:/var/lib/ghost/content - ./content:/var/lib/ghost/content
networks: networks:
@ -57,12 +57,12 @@ services:
- ghost_db - ghost_db
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.${SERVICE}.rule=Host(`${DOMAIN}`)" - "traefik.http.routers.ghost.rule=Host(`echo.blasseye.fr`)"
- "traefik.http.routers.${SERVICE}.entrypoints=websecure" - "traefik.http.routers.ghost.entrypoints=websecure"
- "traefik.http.routers.${SERVICE}.tls=true" - "traefik.http.routers.ghost.tls=true"
- "traefik.http.routers.${SERVICE}.tls.certresolver=http" - "traefik.http.routers.ghost.tls.certresolver=http"
- "traefik.http.routers.${SERVICE}.service=${SERVICE}" - "traefik.http.routers.ghost.service=ghost"
- "traefik.http.services.${SERVICE}.loadbalancer.server.port=2368" - "traefik.http.services.ghost.loadbalancer.server.port=2368"
- "traefik.docker.network=traefik_net" - "traefik.docker.network=traefik_net"
ghost_db: ghost_db:
@ -83,7 +83,7 @@ networks:
traefik_net: traefik_net:
external: true external: true
ghost_net: ghost_net:
name: ghost_net name: ${SERVICE}_net
driver: bridge driver: bridge
``` ```