-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
613 changed files
with
104,560 additions
and
67,877 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
MYSQL_ROOT_PASSWORD=db>D6~M$4§Y:sChh | ||
MYSQL_USER=aas-server | ||
MYSQL_PASSWORD=60PYRe6Vd8C99u4n | ||
|
||
MONGO_INITDB_ROOT_USERNAME=aas-server | ||
MONGO_INITDB_ROOT_PASSWORD=bObXJWW6e8Nh78YF | ||
|
||
NEXTCLOUD_MYSQL_ROOT_PASSWORD=H68rJ7h4wJ75PgUY | ||
NEXTCLOUD_MYSQL_PASSWORD=VgpnIrk8jJRj435b | ||
NEXTCLOUD_ADMIN_USER=aas-server | ||
NEXTCLOUD_ADMIN_PASSWORD=5w0vmrkzrwDIDyZs | ||
NEXTCLOUD_TRUSTED_DOMAINS=localhost | ||
|
||
NODE_ENV=production | ||
NODE_SERVER_PORT=1337 | ||
AAS_INDEX=mysql://aas-server:60PYRe6Vd8C99u4n@aasportal-index:3306 | ||
USER_STORAGE=mongodb://aas-server:bObXJWW6e8Nh78YF@aasportal-users:27017/aasportal-users | ||
TEMPLATE_STORAGE=http://aas-server:5w0vmrkzrwDIDyZs@aasportal-cloud:8080/templates | ||
ENDPOINTS=["file:///endpoints/samples?name=Samples"] |
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,55 +1,21 @@ | ||
{ | ||
"root": true, | ||
"ignorePatterns": [ | ||
"projects/**/*" | ||
], | ||
"overrides": [ | ||
{ | ||
"files": [ | ||
"*.ts" | ||
], | ||
"extends": [ | ||
"root": true, | ||
"parser": "@typescript-eslint/parser", | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@angular-eslint/recommended", | ||
"plugin:@angular-eslint/template/process-inline-templates" | ||
], | ||
"rules": { | ||
"@angular-eslint/directive-selector": [ | ||
"error", | ||
{ | ||
"type": "attribute", | ||
"prefix": "lib", | ||
"style": "camelCase" | ||
} | ||
], | ||
"@angular-eslint/component-selector": [ | ||
"error", | ||
{ | ||
"type": "element", | ||
"prefix": "lib", | ||
"style": "kebab-case" | ||
} | ||
] | ||
} | ||
"plugin:prettier/recommended" | ||
], | ||
"parserOptions": { | ||
"ecmaVersion": 2022, | ||
"sourceType": "module" | ||
}, | ||
{ | ||
"files": [ | ||
"*.html" | ||
], | ||
"extends": [ | ||
"plugin:@angular-eslint/template/recommended", | ||
"plugin:@angular-eslint/template/accessibility" | ||
], | ||
"rules": {} | ||
}, | ||
{ | ||
"files": [ | ||
"*.ts" | ||
], | ||
"extends": [ | ||
"plugin:@ngrx/recommended" | ||
] | ||
"rules": { | ||
"@typescript-eslint/no-empty-function": "error", | ||
"@typescript-eslint/no-empty-interface": "error", | ||
"@typescript-eslint/no-unused-vars": "error", | ||
"@typescript-eslint/prefer-for-of": "error", | ||
"@typescript-eslint/explicit-member-accessibility": "error", | ||
"prettier/prettier": "error" | ||
} | ||
] | ||
} |
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 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,9 @@ | ||
# Ignore everything | ||
**/* | ||
|
||
# But not TS and JS files | ||
!**/*.ts | ||
!**/*.js | ||
|
||
# Check subdirectories too | ||
!*/ |
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,17 @@ | ||
{ | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"useTabs": false, | ||
"tabWidth": 4, | ||
"semi": true, | ||
"endOfLine": "auto", | ||
"printWidth": 120, | ||
"quoteProps": "as-needed", | ||
"bracketSpacing": true, | ||
"bracketSameLine": false, | ||
"arrowParens": "avoid", | ||
"proseWrap": "preserve", | ||
"embeddedLanguageFormatting": "auto", | ||
"singleAttributePerLine": false | ||
} | ||
|
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 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 |
---|---|---|
@@ -1,11 +1,13 @@ | ||
# Dockerfile to build server and client parts | ||
FROM node:lts-alpine3.16 as build | ||
# Dockerfile to build client app | ||
FROM node:20.11.1-alpine AS build | ||
WORKDIR /usr/src/app | ||
COPY . . | ||
RUN npm install | ||
RUN npm run aas-portal:build | ||
|
||
FROM nginx:latest as aas-portal | ||
COPY --from=build /usr/src/app/projects/aas-portal/dist/ /usr/share/nginx/html/ | ||
FROM nginx:latest AS aas-portal | ||
#possibility to check host & port availability of other containers via netcat | ||
RUN apt-get update -y && apt-get install -y netcat-openbsd | ||
COPY --from=build /usr/src/app/projects/aas-portal/dist/browser/ /usr/share/nginx/html/ | ||
COPY --from=build /usr/src/app/projects/aas-portal/nginx.conf /etc/nginx/nginx.conf | ||
EXPOSE 80 | ||
EXPOSE 80 |
Oops, something went wrong.