Skip to content

Commit

Permalink
chore: merge changes
Browse files Browse the repository at this point in the history
  • Loading branch information
apsinghdev committed Nov 24, 2024
2 parents d87baeb + 1cd7482 commit b96609f
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
28 changes: 28 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,31 @@ services:
#command: ["npm", "run", "server"]
command: ["npm", "run", "server"]


name: musicblocks
services:
musicblocks:
build:
context: https://github.com/sugarlabs/musicblocks.git#test-collab
ports:
- "3000:3000"
command: ["python", "-m", "http.server", "3000", "--bind", "0.0.0.0"]
env_file:
- ./environment
# planet-server:
# build:
# dockerfile: ../planet-server/Dockerfile
# ports:
# - "8000:8000"
collaboration-server:
build: https://github.com/sugarlabs/collaboration-server.git#test-collab
# build:
# dockerfile: ../collaboration-server/Dockerfile
# volumes:
# - .:/collaboration-server
ports:
- "8080:8080"
environment:
NODE_ENV: development
#command: ["npm", "run", "server"]
command: ["npm", "run", "server"]
1 change: 0 additions & 1 deletion js/collaboration/collaboration.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ class Collaboration {
this.attempts = 0;
this.socket = null;
this.blockList = this.activity.blocks.blockList;
this.HOST = "http://127.0.0.1";
this.PORT = "8080";
this.COLLAB_HOST = "http://127.0.0.1";
this.hasCollaborationStarted = false;
Expand Down
2 changes: 1 addition & 1 deletion planet/js/ServerInterface.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,4 @@ class ServerInterface {

init() { };

}
}

0 comments on commit b96609f

Please sign in to comment.