-
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.
Merge pull request #9 from phoenix741/feature/serveronly
feat: Remove the client part (that will be stored in another project)
- Loading branch information
Showing
181 changed files
with
2,786 additions
and
27,863 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,7 @@ | ||
pipeline: | ||
e2e: | ||
group: test | ||
image: node:8 | ||
commands: | ||
- npm install | ||
- npm run e2e:docker | ||
environment: | ||
- MONGODB_HOST=mongodb://mongodb:27017/passprotect | ||
- MONGODB_DATABASE=passprotect | ||
- HOST=e2e | ||
|
||
unit: | ||
group: test | ||
image: node:8 | ||
commands: | ||
- wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add - | ||
- sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list' | ||
- apt update && apt install -y google-chrome-stable | ||
|
||
- npm install | ||
- npm run unit | ||
|
||
nodejs: | ||
group: build | ||
image: plugins/docker | ||
repo: phoenix741/passprotect-server | ||
secrets: [ docker_username, docker_password ] | ||
tags: develop | ||
dockerfile: Dockerfile.nodejs | ||
|
||
nginx: | ||
group: build | ||
image: plugins/docker | ||
repo: phoenix741/passprotect-client | ||
secrets: [ docker_username, docker_password ] | ||
tags: develop | ||
dockerfile: Dockerfile.nginx | ||
|
||
services: | ||
selenium: | ||
image: selenium/standalone-chrome | ||
|
||
mongodb: | ||
image: mongo:3.6 |
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
This file was deleted.
Oops, something went wrong.
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,7 +1,7 @@ | ||
# | ||
# -------- Base --------- | ||
|
||
FROM node:8 as base | ||
FROM node:10 as base | ||
MAINTAINER Ulrich Van Den Hekke <[email protected]> | ||
|
||
WORKDIR /src | ||
|
@@ -18,14 +18,14 @@ RUN npm install --production | |
# -------- Dist ----------- | ||
FROM base AS dist | ||
|
||
COPY common ./common | ||
COPY config ./config | ||
COPY server ./server | ||
COPY package.json ./ | ||
COPY package-lock.json ./ | ||
COPY --from=dependencies /src/node_modules /src/node_modules | ||
|
||
ENV MODE=prod | ||
ENV NODE_ENV=production | ||
|
||
EXPOSE 3000 | ||
CMD ["node", "-r", "@std/esm", "server/app"] | ||
CMD ["node", "--experimental-modules", "server/app"] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.