-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…loader #11 downloader
- Loading branch information
Showing
13 changed files
with
744 additions
and
249 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,6 @@ | |
node_modules | ||
|
||
credentials.json | ||
download_tests | ||
download_tests | ||
build | ||
FileShare |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM node:16 | ||
WORKDIR /ffs/ | ||
COPY package.json . | ||
COPY package.json ./ | ||
RUN npm install | ||
COPY . . | ||
COPY /src/build ./ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,62 @@ | ||
version: "3.8" | ||
|
||
services: | ||
auth_server: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile | ||
env_file: ./.env | ||
volumes: | ||
- .:/ffs/ | ||
- ./src/build:/ffs/ | ||
- /ffs/node_modules | ||
ports: | ||
- "3000:3000" | ||
- ${PORT}:${PORT} | ||
command: "node server.js" | ||
|
||
task_runner_1: | ||
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_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: | ||
- .:/ffs/ | ||
- ./src/build:/ffs/ | ||
- /ffs/node_modules | ||
- ${LOCAL_DIR_WATERJET}:/ffs/FileShare/Waterjet | ||
network_mode: host | ||
command: "node taskRunner.js lathe" | ||
command: "node taskRunner.js waterjet" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
declare global { | ||
namespace NodeJS { | ||
interface ProcessEnv { | ||
FORGE_CLIENT_ID: string; | ||
FORGE_CLIENT_SECRET: string; | ||
FORGE_CALLBACK_URL: string; | ||
PORT: string; | ||
} | ||
} | ||
} | ||
|
||
// If this file has no import/export statements (i.e. is a script) | ||
// convert it into a module by adding an empty export statement. | ||
export {} |
Oops, something went wrong.