mirror of
https://github.com/atareao/self-hosted.git
synced 2024-07-06 14:02:16 +02:00
23 lines
719 B
YAML
23 lines
719 B
YAML
version: '3.1'
|
|
|
|
services:
|
|
|
|
ghost:
|
|
networks:
|
|
- proxy
|
|
labels:
|
|
- traefik.enable=true
|
|
- traefik.http.services.ghost.loadbalancer.server.port=2368
|
|
- traefik.http.routers.ghost.entrypoints=web
|
|
- traefik.http.routers.ghost.rule=Host(`${FQDN}`)
|
|
- traefik.http.middlewares.ghost-https-redirect.redirectscheme.scheme=websecure
|
|
- traefik.http.routers.ghost.middlewares=ghost-https-redirect
|
|
- traefik.http.routers.ghost-secure.entrypoints=websecure
|
|
- traefik.http.routers.ghost-secure.rule=Host(`${FQDN}`)
|
|
- traefik.http.routers.ghost-secure.tls=true
|
|
- traefik.http.routers.ghost-secure.tls.certresolver=letsencrypt
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|