diff --git a/.env.sample b/.env.sample index d4544fa..c3c3aed 100644 --- a/.env.sample +++ b/.env.sample @@ -166,4 +166,8 @@ COMPOSE_FILE="compose.yml" ## Garage #COMPOSE_FILE="$COMPOSE_FILE:compose.garage.yml" -#GARAGE_RPC_ENABLED=1 \ No newline at end of file +#GARAGE_RPC_ENABLED=1 + +## Nextcloud Talk HPB +#COMPOSE_FILE="$COMPOSE_FILE:compose.nextcloud-talk-hpb.yml" +#NEXTCLOUD_TALK_HPB_ENABLED=1 \ No newline at end of file diff --git a/compose.nextcloud-talk-hpb.yml b/compose.nextcloud-talk-hpb.yml new file mode 100644 index 0000000..7ee4b3e --- /dev/null +++ b/compose.nextcloud-talk-hpb.yml @@ -0,0 +1,8 @@ +version: "3.8" +services: + app: + environment: + - NEXTCLOUD_TALK_HPB_ENABLED + ports: + - "3478:3478/udp" + - "3478:3478/tcp" \ No newline at end of file diff --git a/traefik.yml.tmpl b/traefik.yml.tmpl index b1ba638..0ad499e 100644 --- a/traefik.yml.tmpl +++ b/traefik.yml.tmpl @@ -90,6 +90,12 @@ entrypoints: matrix-federation: address: ":9001" {{ end }} + {{ if eq (env "NEXTCLOUD_TALK_HPB_ENABLED") "1" }} + nextcloud-talk-hpb: + address: ":3478" + nextcloud-talk-hpb-udp: + address: ":3478/udp" + {{ end }} ping: entryPoint: web