From 652a4d3426e3dc79326912a57c2a92ae33db5b1b Mon Sep 17 00:00:00 2001 From: Brutus5000 Date: Fri, 10 Nov 2023 21:32:13 +0100 Subject: [PATCH] Upgrade faf-ws-bridge to faf-python-server to PROXY protocol --- config.template/faf-python-server/dynamic/config.yml | 2 +- docker-compose.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.template/faf-python-server/dynamic/config.yml b/config.template/faf-python-server/dynamic/config.yml index 166fbf9..6ae613f 100644 --- a/config.template/faf-python-server/dynamic/config.yml +++ b/config.template/faf-python-server/dynamic/config.yml @@ -14,7 +14,7 @@ LISTEN: - ADDRESS: PORT: 8003 PROTOCOL: SimpleJsonProtocol - PROXY: false + PROXY: true DB_SERVER: "faf-db" DB_LOGIN: "faf-python-server" diff --git a/docker-compose.yml b/docker-compose.yml index 026716c..27c4af4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -108,7 +108,7 @@ services: # faf-ws-bridge: container_name: faf-ws-bridge - image: faforever/ws_bridge_rs:0.1.1 + image: faforever/ws_bridge_rs:0.1.3 user: rust networks: faf: @@ -117,7 +117,7 @@ services: restart: unless-stopped expose: - "8003" - command: ws_to_tcp -vvv faf-ws-bridge:8003 faf-python-server:8003 + command: ws_to_tcp -vvv --proxy faf-ws-bridge:8003 faf-python-server:8003 labels: - "traefik.enable=true" - "traefik.http.routers.faf-ws-bridge.rule=Host(`ws.${DOMAINNAME}`)"