Skip to content

Commit

Permalink
Upgrade faf-ws-bridge to faf-python-server to PROXY protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
Brutus5000 committed Nov 10, 2023
1 parent c6177f3 commit 652a4d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config.template/faf-python-server/dynamic/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ LISTEN:
- ADDRESS:
PORT: 8003
PROTOCOL: SimpleJsonProtocol
PROXY: false
PROXY: true

DB_SERVER: "faf-db"
DB_LOGIN: "faf-python-server"
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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}`)"
Expand Down

0 comments on commit 652a4d3

Please sign in to comment.