This commit is contained in:
Jake Kasper
2025-09-02 07:46:06 -05:00
parent 47bfd404a7
commit 08072c4404
2 changed files with 10 additions and 2 deletions

View File

@@ -13,6 +13,13 @@ services:
dockerfile: Dockerfile
environment:
- REACT_APP_API_URL=https://turftracker.kaspers.us/api
# Stabilize CRA dev server behind Traefik (WebSocket + polling)
- WDS_SOCKET_HOST=turftracker.kaspers.us
- WDS_SOCKET_PORT=443
- WDS_SOCKET_PATH=/ws
- CHOKIDAR_USEPOLLING=true
- WATCHPACK_POLLING=true
- WATCHPACK_POLLING_INTERVAL=1000
volumes:
- ./frontend:/app
- /app/node_modules