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
59 lines
2.2 KiB
YAML
59 lines
2.2 KiB
YAML
version: "3.7"
|
|
|
|
services:
|
|
peppermint:
|
|
image: pepperlabs/peppermint:latest
|
|
container_name: peppermint
|
|
environment:
|
|
- PORT=5000
|
|
- DB_USERNAME=tipi
|
|
- DB_PASSWORD=${PEPPERMINT_DB_PASSWORD}
|
|
- DB_HOST=peppermint-db
|
|
- BASE_URL=${APP_PROTOCOL:-http}://${APP_DOMAIN}
|
|
restart: unless-stopped
|
|
ports:
|
|
- ${APP_PORT}:5000
|
|
depends_on:
|
|
- peppermint-db
|
|
networks:
|
|
- tipi_main_network
|
|
labels:
|
|
# Main
|
|
traefik.enable: true
|
|
traefik.http.middlewares.peppermint-web-redirect.redirectscheme.scheme: https
|
|
traefik.http.services.peppermint.loadbalancer.server.port: 5000
|
|
# Web
|
|
traefik.http.routers.peppermint-insecure.rule: Host(`${APP_DOMAIN}`)
|
|
traefik.http.routers.peppermint-insecure.entrypoints: web
|
|
traefik.http.routers.peppermint-insecure.service: peppermint
|
|
traefik.http.routers.peppermint-insecure.middlewares: peppermint-web-redirect
|
|
# Websecure
|
|
traefik.http.routers.peppermint.rule: Host(`${APP_DOMAIN}`)
|
|
traefik.http.routers.peppermint.entrypoints: websecure
|
|
traefik.http.routers.peppermint.service: peppermint
|
|
traefik.http.routers.peppermint.tls.certresolver: myresolver
|
|
# Local domain
|
|
traefik.http.routers.peppermint-local-insecure.rule: Host(`peppermint.${LOCAL_DOMAIN}`)
|
|
traefik.http.routers.peppermint-local-insecure.entrypoints: web
|
|
traefik.http.routers.peppermint-local-insecure.service: peppermint
|
|
traefik.http.routers.peppermint-local-insecure.middlewares: peppermint-web-redirect
|
|
# Local domain secure
|
|
traefik.http.routers.peppermint-local.rule: Host(`peppermint.${LOCAL_DOMAIN}`)
|
|
traefik.http.routers.peppermint-local.entrypoints: websecure
|
|
traefik.http.routers.peppermint-local.service: peppermint
|
|
traefik.http.routers.peppermint-local.tls: true
|
|
|
|
peppermint-db:
|
|
container_name: peppermint-db
|
|
image: postgres:latest
|
|
restart: unless-stopped
|
|
environment:
|
|
- POSTGRES_USER=tipi
|
|
- POSTGRES_PASSWORD=${PEPPERMINT_DB_PASSWORD}
|
|
- POSTGRES_DB=peppermint
|
|
volumes:
|
|
- ${APP_DATA_DIR}/data/postgres:/var/lib/postgresql/data
|
|
networks:
|
|
- tipi_main_network
|
|
|