24 lines
944 B
Text
24 lines
944 B
Text
![]() |
---
|
||
|
services:
|
||
|
chartdb:
|
||
|
image: ghcr.io/chartdb/chartdb:${CHARTDB_VERSION:-latest}
|
||
|
container_name: chartdb
|
||
|
restart: unless-stopped
|
||
|
networks:
|
||
|
- traefik
|
||
|
labels:
|
||
|
- "traefik.enable=true"
|
||
|
- "traefik.docker.network=traefik"
|
||
|
- "traefik.http.routers.chartdb.entrypoints=http"
|
||
|
- "traefik.http.routers.chartdb.rule=Host(`${CHARTDB_DOMAIN}`)"
|
||
|
- "traefik.http.middlewares.chartdb-https-redirect.redirectscheme.scheme=https"
|
||
|
- "traefik.http.routers.chartdb.middlewares=chartdb-https-redirect"
|
||
|
- "traefik.http.routers.chartdb-secure.entrypoints=https"
|
||
|
- "traefik.http.routers.chartdb-secure.rule=Host(`${CHARTDB_DOMAIN}`)"
|
||
|
- "traefik.http.routers.chartdb-secure.tls=true"
|
||
|
- "traefik.http.routers.chartdb-secure.service=chartdb"
|
||
|
- "traefik.http.services.chartdb.loadbalancer.server.port=80"
|
||
|
|
||
|
networks:
|
||
|
traefik:
|
||
|
external: true
|