app-store/apps/inspircd/docker-compose.yml
Stavros c6478f73d7
App/inspircd (#3843)
* feat: inspircd

* refactor(inspircd): add data folder

* refactor(inspired): add newline to end of docker compose

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-06-21 18:44:54 +03:00

38 lines
1.6 KiB
YAML

version: "3.9"
services:
inspircd:
container_name: inspircd
image: inspircd/inspircd-docker:3.17.0
restart: unless-stopped
volumes:
- ${APP_DATA_DIR}/data:/inspircd/conf
ports:
- ${APP_PORT}:6697
networks:
- tipi_main_network
labels:
# Main
traefik.enable: true
traefik.http.middlewares.inspircd-web-redirect.redirectscheme.scheme: https
traefik.http.services.inspircd.loadbalancer.server.port: 6697
# Web
traefik.http.routers.inspircd-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.inspircd-insecure.entrypoints: web
traefik.http.routers.inspircd-insecure.service: inspircd
traefik.http.routers.inspircd-insecure.middlewares: inspircd-web-redirect
# Websecure
traefik.http.routers.inspircd.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.inspircd.entrypoints: websecure
traefik.http.routers.inspircd.service: inspircd
traefik.http.routers.inspircd.tls.certresolver: myresolver
# Local domain
traefik.http.routers.inspircd-local-insecure.rule: Host(`inspircd.${LOCAL_DOMAIN}`)
traefik.http.routers.inspircd-local-insecure.entrypoints: web
traefik.http.routers.inspircd-local-insecure.service: inspircd
traefik.http.routers.inspircd-local-insecure.middlewares: inspircd-web-redirect
# Local domain secure
traefik.http.routers.inspircd-local.rule: Host(`inspircd.${LOCAL_DOMAIN}`)
traefik.http.routers.inspircd-local.entrypoints: websecure
traefik.http.routers.inspircd-local.service: inspircd
traefik.http.routers.inspircd-local.tls: true