app-store/apps/simplex-smp/docker-compose.yml
Nicolas Meienberger edec0d0ca4
feat: app configs local domains (#713)
* 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
2023-06-18 18:02:29 +02:00

41 lines
1.8 KiB
YAML

version: '3.9'
services:
simplex-smp:
image: simplexchat/smp-server:v5.1.1
container_name: simplex-smp
volumes:
- ${APP_DATA_DIR}/data/simplex/logs:/var/opt/simplex:z
- ${APP_DATA_DIR}/data/simplex/config:/etc/opt/simplex:z
ports:
- ${APP_PORT}:5223
environment:
- PASS=${SIMPLEX_SMP_PASSWORD}
- ADDR=${APP_DOMAIN}
networks:
- tipi_main_network
labels:
# Main
traefik.enable: true
traefik.http.middlewares.simplex-smp-web-redirect.redirectscheme.scheme: https
traefik.http.services.simplex-smp.loadbalancer.server.port: 5223
# Web
traefik.http.routers.simplex-smp-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.simplex-smp-insecure.entrypoints: web
traefik.http.routers.simplex-smp-insecure.service: simplex-smp
traefik.http.routers.simplex-smp-insecure.middlewares: simplex-smp-web-redirect
# Websecure
traefik.http.routers.simplex-smp.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.simplex-smp.entrypoints: websecure
traefik.http.routers.simplex-smp.service: simplex-smp
traefik.http.routers.simplex-smp.tls.certresolver: myresolver
# Local domain
traefik.http.routers.simplex-smp-local-insecure.rule: Host(`simplex-smp.${LOCAL_DOMAIN}`)
traefik.http.routers.simplex-smp-local-insecure.entrypoints: web
traefik.http.routers.simplex-smp-local-insecure.service: simplex-smp
traefik.http.routers.simplex-smp-local-insecure.middlewares: simplex-smp-web-redirect
# Local domain secure
traefik.http.routers.simplex-smp-local.rule: Host(`simplex-smp.${LOCAL_DOMAIN}`)
traefik.http.routers.simplex-smp-local.entrypoints: websecure
traefik.http.routers.simplex-smp-local.service: simplex-smp
traefik.http.routers.simplex-smp-local.tls: true