Skip to content

Commit

Permalink
Merge pull request #22 from Bechtel-Innovation-Design-Center/#16-watc…
Browse files Browse the repository at this point in the history
…her2.0

#16 webhooks
  • Loading branch information
pan261 authored Jan 29, 2022
2 parents 2828da6 + 3fc5d0d commit a148ac1
Show file tree
Hide file tree
Showing 12 changed files with 641 additions and 97 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM node:16
WORKDIR /ffs/
COPY package.json ./
RUN npm install
RUN npm install --only=prod
COPY /src/build ./
93 changes: 47 additions & 46 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,62 +1,63 @@
version: "3.8"

services:
auth_server:
server:
build:
context: .
dockerfile: Dockerfile
env_file: ./.env
volumes:
- ./src/build:/ffs/
- /ffs/node_modules
- ./FileShare:/ffs/FileShare/
ports:
- ${PORT}:${PORT}
command: "node server.js"

task_runner_gantry:
build:
context: .
dockerfile: Dockerfile
env_file: ./.env
volumes:
- ./src/build:/ffs/
- /ffs/node_modules
- ${LOCAL_DIR_GANTRY}:/ffs/FileShare/Gantry
network_mode: host
command: "node taskRunner.js gantry"
# task_runner_gantry:
# build:
# context: .
# dockerfile: Dockerfile
# env_file: ./.env
# volumes:
# - ./src/build:/ffs/
# - /ffs/node_modules
# - ${LOCAL_DIR_GANTRY}:/ffs/FileShare/Gantry
# network_mode: host
# command: "node taskRunner.js gantry"
#
# task_runner_lathe:
# build:
# context: .
# dockerfile: Dockerfile
# env_file: ./.env
# volumes:
# - ./src/build:/ffs/
# - /ffs/node_modules
# - ${LOCAL_DIR_LATHE}:/ffs/FileShare/Lathe
# network_mode: host
# command: "node taskRunner.js lathe"

task_runner_lathe:
build:
context: .
dockerfile: Dockerfile
env_file: ./.env
volumes:
- ./src/build:/ffs/
- /ffs/node_modules
- ${LOCAL_DIR_LATHE}:/ffs/FileShare/Lathe
network_mode: host
command: "node taskRunner.js lathe"
# task_runner_mill:
# build:
# context: .
# dockerfile: Dockerfile
# env_file: ./.env
# volumes:
# - ./src/build:/ffs/
# - /ffs/node_modules
# - ${LOCAL_DIR_MILL}:/ffs/FileShare/Mill
# network_mode: host
# command: "node taskRunner.js mill"

task_runner_mill:
build:
context: .
dockerfile: Dockerfile
env_file: ./.env
volumes:
- ./src/build:/ffs/
- /ffs/node_modules
- ${LOCAL_DIR_MILL}:/ffs/FileShare/Mill
network_mode: host
command: "node taskRunner.js mill"

task_runner_waterjet:
build:
context: .
dockerfile: Dockerfile
env_file: ./.env
volumes:
- ./src/build:/ffs/
- /ffs/node_modules
- ${LOCAL_DIR_WATERJET}:/ffs/FileShare/Waterjet
network_mode: host
command: "node taskRunner.js waterjet"
# task_runner_waterjet:
# build:
# context: .
# dockerfile: Dockerfile
# env_file: ./.env
# volumes:
# - ./src/build:/ffs/
# - /ffs/node_modules
# - ${LOCAL_DIR_WATERJET}:/ffs/FileShare/Waterjet
# network_mode: host
# command: "node taskRunner.js waterjet"
Loading

0 comments on commit a148ac1

Please sign in to comment.