diff --git a/.env.sample b/.env.sample index 558e4d2..ffe1c2c 100644 --- a/.env.sample +++ b/.env.sample @@ -147,3 +147,7 @@ COMPOSE_FILE="compose.yml" # NOTE(3wc): as of 2024-04-01 only the `icecast` recipe uses this #COMPOSE_FILE="$COMPOSE_FILE:compose.web-alt.yml" #WEB_ALT_ENABLED=1 + +## Matrix +#COMPOSE_FILE="$COMPOSE_FILE:compose.irc.yml" +#IRC_ENABLED=1 diff --git a/abra.sh b/abra.sh index 70c5cfc..07f3312 100644 --- a/abra.sh +++ b/abra.sh @@ -1,3 +1,3 @@ -export TRAEFIK_YML_VERSION=v21 +export TRAEFIK_YML_VERSION=v22 export FILE_PROVIDER_YML_VERSION=v10 export ENTRYPOINT_VERSION=v4 diff --git a/compose.irc.yml b/compose.irc.yml new file mode 100644 index 0000000..109d986 --- /dev/null +++ b/compose.irc.yml @@ -0,0 +1,7 @@ +version: "3.8" +services: + app: + environment: + - IRC_ENABLED + ports: + - "6697:6697" diff --git a/traefik.yml.tmpl b/traefik.yml.tmpl index f2af6ad..132a898 100644 --- a/traefik.yml.tmpl +++ b/traefik.yml.tmpl @@ -68,6 +68,10 @@ entrypoints: compy: address: ":9999" {{ end }} + {{ if eq (env "IRC_ENABLED") "1" }} + irc: + address: ":6697" + {{ end }} {{ if eq (env "METRICS_ENABLED") "1" }} metrics: address: ":8082"