Skip to content

Commit

Permalink
Use traefik for ws bridge and move ports to faf network only
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheikah45 authored Oct 12, 2023
1 parent 2473849 commit 2cffe21
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ services:
nofile:
soft: 100000
hard: 200000
expose:
- "8003" # Websocket Server UTF8 Json
ports:
- "8001:8001" # Server QDataStream
- "8002:8002" # Server UTF8 Json
Expand All @@ -114,9 +116,9 @@ services:
aliases:
- "faf-ws-bridge"
restart: unless-stopped
ports:
- "8003:8003"
command: ws_to_tcp -vvv faf-ws-bridge:8003 faf-python-server:8002
expose:
- "8003"
command: ws_to_tcp -vvv 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 2cffe21

Please sign in to comment.