From c022a17429da49b3a9f4ae2835956cad29cab2df Mon Sep 17 00:00:00 2001 From: Thomas Egger Date: Sun, 28 May 2023 12:56:47 +0200 Subject: [PATCH] update docker-compose --- docker-compose-coturn.yml | 6 ++++++ docker-compose.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/docker-compose-coturn.yml b/docker-compose-coturn.yml index 505a399..9a3691e 100644 --- a/docker-compose-coturn.yml +++ b/docker-compose-coturn.yml @@ -7,6 +7,12 @@ services: - ./:/home/node/app command: ash -c "npm i && npm run start:prod" restart: unless-stopped + environment: + - PUID=1000 # UID to run the application as + - PGID=1000 # GID to run the application as + - WS_FALLBACK=false # Set to true to enable websocket fallback if the peer to peer WebRTC connection is not available to the client. + - RATE_LIMIT=false # Set to true to limit clients to 1000 requests per 5 min. + - TZ=Etc/UTC # Time Zone ports: - "3000:3000" coturn_server: diff --git a/docker-compose.yml b/docker-compose.yml index ca0c223..5949205 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,5 +7,11 @@ services: - ./:/home/node/app command: ash -c "npm i && npm run start:prod" restart: unless-stopped + environment: + - PUID=1000 # UID to run the application as + - PGID=1000 # GID to run the application as + - WS_FALLBACK=false # Set to true to enable websocket fallback if the peer to peer WebRTC connection is not available to the client. + - RATE_LIMIT=false # Set to true to limit clients to 1000 requests per 5 min. + - TZ=Etc/UTC # Time Zone ports: - "3000:3000"