From eac5e8adc8da2b3f184cad54b9226e305cb65dfe Mon Sep 17 00:00:00 2001 From: Alexis Faizeau Date: Wed, 10 Nov 2021 18:17:44 +0100 Subject: [PATCH] Add icon server on single domain services --- docker-compose.single-domain.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docker-compose.single-domain.yaml b/docker-compose.single-domain.yaml index 4e85d702..f7c9e429 100644 --- a/docker-compose.single-domain.yaml +++ b/docker-compose.single-domain.yaml @@ -30,6 +30,7 @@ services: UPLOADER_URL: /uploader ADMIN_URL: /admin MAPS_URL: /maps + ICON_URL: /icon STARTUP_COMMAND_1: ./templater.sh STARTUP_COMMAND_2: yarn install TURN_SERVER: "turn:localhost:3478,turns:localhost:5349" @@ -177,6 +178,20 @@ services: redis: image: redis:6 + icon: + image: matthiasluedtke/iconserver:v3.13.0 + labels: + - "traefik.http.middlewares.strip-icon-prefix.stripprefix.prefixes=/icon" + - "traefik.http.routers.icon.rule=PathPrefix(`/icon`)" + - "traefik.http.routers.icon.middlewares=strip-icon-prefix@docker" + - "traefik.http.routers.icon.entryPoints=web" + - "traefik.http.services.icon.loadbalancer.server.port=8080" + - "traefik.http.routers.icon-ssl.rule=PathPrefix(`/icon`)" + - "traefik.http.routers.icon-ssl.middlewares=strip-icon-prefix@docker" + - "traefik.http.routers.icon-ssl.entryPoints=websecure" + - "traefik.http.routers.icon-ssl.tls=true" + - "traefik.http.routers.icon-ssl.service=icon" + # coturn: # image: coturn/coturn:4.5.2 # command: