Skip to content

Commit

Permalink
Websocket svc port fix
Browse files Browse the repository at this point in the history
  • Loading branch information
b-j-roberts committed Jan 16, 2025
1 parent a88c309 commit e0f3ab6
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion backend/Dockerfile.websocket
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ COPY ./backend .
# Build the app & run it
RUN go build -o web-sockets ./cmd/web-sockets/web-sockets.go

EXPOSE 8082
EXPOSE 8083

CMD ["./web-sockets"]
2 changes: 1 addition & 1 deletion backend/config/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ var DefaultBackendConfig = BackendConfig{
Port: 8080,
ConsumerPort: 8081,
WsHost: "localhost",
WsPort: 8082,
WsPort: 8083,
Scripts: BackendScriptsConfig{
PlacePixelDevnet: "../scripts/place_pixel.sh",
PlaceExtraPixelsDevnet: "../scripts/place_extra_pixels.sh",
Expand Down
2 changes: 1 addition & 1 deletion configs/backend.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"port": 8080,
"consumer_port": 8081,
"ws_host": "localhost",
"ws_port": 8082,
"ws_port": 8083,
"scripts": {
"place_pixel_devnet": "../tests/integration/local/place_pixel.sh",
"place_extra_pixels_devnet": "../tests/integration/local/place_extra_pixels.sh",
Expand Down
2 changes: 1 addition & 1 deletion configs/docker-backend.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"port": 8080,
"consumer_port": 8081,
"ws_host": "art-peace-websockets-1",
"ws_port": 8082,
"ws_port": 8083,
"scripts": {
"place_pixel_devnet": "/scripts/place_pixel.sh",
"place_extra_pixels_devnet": "/scripts/place_extra_pixels.sh",
Expand Down
2 changes: 1 addition & 1 deletion configs/prod-backend.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"port": 8080,
"consumer_port": 8081,
"ws_host": "websocket.art-peace-sepolia.svc.cluster.local",
"ws_port": 8082,
"ws_port": 8083,
"scripts": {
"place_pixel_devnet": "/scripts/place_pixel.sh",
"place_extra_pixels_devnet": "/scripts/place_extra_pixels.sh",
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ services:
dockerfile: backend/Dockerfile.websocket
context: .
ports:
- 8082:8082
- 8083:8083
links:
- consumer
restart: always
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/configs/backend.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"host": "api.art-peace.net",
"port": 8080,
"consumer_port": 8081,
"ws_port": 8082,
"ws_port": 8083,
"scripts": {
"place_pixel_devnet": "../tests/integration/local/place_pixel.sh",
"place_extra_pixels_devnet": "../tests/integration/local/place_extra_pixels.sh",
Expand Down

0 comments on commit e0f3ab6

Please sign in to comment.