Skip to content

Commit

Permalink
consolidated node modules into one volume
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher-Stevers committed Apr 17, 2023
1 parent e230bad commit aa898d1
Show file tree
Hide file tree
Showing 5 changed files with 75 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules/
package.json
!/**/package.json
.git
Empty file added Dockerfile
Empty file.
2 changes: 2 additions & 0 deletions boot-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

COMPOSE_HTTP_TIMEOUT=200 docker-compose -f docker-compose-test.yml up
38 changes: 38 additions & 0 deletions docker-compose-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
version: "3"
services:
## CONTRACTS + GRAPH
synpress:
container_name: synpress
command: sleep infinity
environment:
DISPLAY: ":14"
LIBGL_ALWAYS_INDIRECT: 0
volumes_from:
- x11-bridge:rw
depends_on:
- x11-bridge
build:
dockerfile: Dockerfile
context: ./OpenQ-Synpress
network_mode: "host"
volumes:
- /app/node_modules
- ./OpenQ-Synpress:/app
env_file:
- ./OpenQ-Synpress/.env

x11-bridge:
image: jare/x11-bridge

network_mode: "host"
volumes:
- "/tmp/.X11-unix:/tmp/.X11-unix:rw"

restart: always

environment:
MODE: tcp
XPRA_HTML: "yes"
DISPLAY: ":14"
XPRA_TCP_PORT: "8080"
XPRA_PASSWORD: MUST_BE_SOMETHING
33 changes: 33 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "module-manager",
"private": true,
"scripts": {
"start": "nodemon index.js"
},
"workspaces": [
"OpenQ-CoinAPI",
"OpenQ-Oracle",
"OpenQ-Frontend",
"OpenQ-Contracts",
"OpenQ-Github-OAuth-Server",
"OpenQ-Helm",
"OpenQ-JSON-RPC-Node",
"OpenQ-CertManager",
"OpenQ-Graph",
"OpenQ-Kubeconfig",
"OpenQ-Bot",
"OpenQ-API",
"OpenQ-Architecture",
"OpenQ-Github-Proxy",
"OpenQ-OZ-Claim-Autotask",
"OpenQ-Bounty-Actions-Autotask",
"OpenQ-Event-Listener",
"OpenQ-Token-Price-Cron-Job",
"Superfluid-Subgraph",
"OpenQ-User-Registration",
"OpenQ-Email-Server",
"OpenQ-Document-Manager",
"OpenQ-Notification-Autotask",
"OpenQ-Synpress"
]
}

0 comments on commit aa898d1

Please sign in to comment.