2022-04-01 21:47:56 +02:00
|
|
|
version: '3.1'
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
ghost:
|
|
|
|
networks:
|
|
|
|
- proxy
|
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
|
|
|
- traefik.http.services.ghost.loadbalancer.server.port=2368
|
2022-05-04 08:10:53 +02:00
|
|
|
- traefik.http.routers.ghost.entrypoints=web
|
2022-04-01 21:47:56 +02:00
|
|
|
- traefik.http.routers.ghost.rule=Host(`${FQDN}`)
|
2022-05-04 08:10:53 +02:00
|
|
|
- traefik.http.middlewares.ghost-https-redirect.redirectscheme.scheme=websecure
|
2022-04-01 21:47:56 +02:00
|
|
|
- traefik.http.routers.ghost.middlewares=ghost-https-redirect
|
2022-05-04 08:10:53 +02:00
|
|
|
- traefik.http.routers.ghost-secure.entrypoints=websecure
|
2022-04-01 21:47:56 +02:00
|
|
|
- traefik.http.routers.ghost-secure.rule=Host(`${FQDN}`)
|
|
|
|
- traefik.http.routers.ghost-secure.tls=true
|
2022-05-04 08:10:53 +02:00
|
|
|
- traefik.http.routers.ghost-secure.tls.certresolver=letsencrypt
|
2022-04-01 21:47:56 +02:00
|
|
|
|
|
|
|
networks:
|
|
|
|
proxy:
|
|
|
|
external: true
|