edec0d0ca4
* feat(pairdrop): change config to support local domain * feat(paperless-ngx): change config to support local domain * feat(peppermint): change config to support local domain * feat(photoprism): change config to support local domain * feat(pihole): change config to support local domain * feat(plausible): change config to support local domain * feat(plex): change config to support local domain * feat(podfetch): change config to support local domain * feat(portainer): change config to support local domain * feat(privatebin): change config to support local domain * feat(prowlarr): change config to support local domain * feat(proxitok): change config to support local domain * feat(qbittorrent): change config to support local domain * feat(radarr): change config to support local domain * feat(readarr): change config to support local domain * feat(resilio-sync): change config to support local domain * feat(romm): change config to support local domain * feat(rss): change config to support local domain * feat(sabnzbd): change config to support local domain * feat(searxng): change config to support local domain * feat(send): change config to support local domain * feat(simplex-smp): change config to support local domain * feat(sonarr): change config to support local domain * feat(syncthing): change config to support local domain * feat(tasks-md): change config to support local domain * feat(tautulli): change config to support local domain * feat(teddit): change config to support local domain * feat(transmission): change config to support local domain * feat(tubearchivist): change config to support local domain * feat(umami): change config to support local domain * feat(uptime-kuma): change config to support local domain * feat(vaultwarden): change config to support local domain * feat(vikunja): change config to support local domain * feat(wg-easy): change config to support local domain * feat(wikijs): change config to support local domain * feat(wizarr): change config to support local domain * feat(your-spotify): change config to support local domain * chore: labels formatting issues
64 lines
2.2 KiB
YAML
64 lines
2.2 KiB
YAML
version: "3.7"
|
|
|
|
services:
|
|
teddit:
|
|
image: teddit/teddit:latest
|
|
container_name: teddit
|
|
networks:
|
|
- tipi_main_network
|
|
ports:
|
|
- ${APP_PORT}:8080
|
|
depends_on:
|
|
- teddit-redis
|
|
restart: unless-stopped
|
|
environment:
|
|
- REDIS_HOST=teddit-redis
|
|
- DOMAIN=${APP_DOMAIN}
|
|
- THEME=dark
|
|
- HTTPS_ENABLED=false
|
|
- REDIRECT_HTTP_TO_HTTPS=false
|
|
- REDIRECT_WWW=false
|
|
healthcheck:
|
|
test: ["CMD", "wget" ,"--no-verbose", "--tries=1", "--spider", "http://localhost:8080/about"]
|
|
interval: 1m
|
|
timeout: 3s
|
|
labels:
|
|
# Main
|
|
traefik.enable: true
|
|
traefik.http.middlewares.teddit-web-redirect.redirectscheme.scheme: https
|
|
traefik.http.services.teddit.loadbalancer.server.port: 8080
|
|
# Web
|
|
traefik.http.routers.teddit-insecure.rule: Host(`${APP_DOMAIN}`)
|
|
traefik.http.routers.teddit-insecure.entrypoints: web
|
|
traefik.http.routers.teddit-insecure.service: teddit
|
|
traefik.http.routers.teddit-insecure.middlewares: teddit-web-redirect
|
|
# Websecure
|
|
traefik.http.routers.teddit.rule: Host(`${APP_DOMAIN}`)
|
|
traefik.http.routers.teddit.entrypoints: websecure
|
|
traefik.http.routers.teddit.service: teddit
|
|
traefik.http.routers.teddit.tls.certresolver: myresolver
|
|
# Local domain
|
|
traefik.http.routers.teddit-local-insecure.rule: Host(`teddit.${LOCAL_DOMAIN}`)
|
|
traefik.http.routers.teddit-local-insecure.entrypoints: web
|
|
traefik.http.routers.teddit-local-insecure.service: teddit
|
|
traefik.http.routers.teddit-local-insecure.middlewares: teddit-web-redirect
|
|
# Local domain secure
|
|
traefik.http.routers.teddit-local.rule: Host(`teddit.${LOCAL_DOMAIN}`)
|
|
traefik.http.routers.teddit-local.entrypoints: websecure
|
|
traefik.http.routers.teddit-local.service: teddit
|
|
traefik.http.routers.teddit-local.tls: true
|
|
|
|
teddit-redis:
|
|
image: redis:alpine
|
|
container_name: teddit-redis
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ${APP_DATA_DIR}/data/redis:/data
|
|
healthcheck:
|
|
test: ["CMD", "redis-cli", "ping"]
|
|
interval: 1s
|
|
timeout: 3s
|
|
retries: 30
|
|
networks:
|
|
- tipi_main_network
|