@axdspub/axiom-charts 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/library/Libraries/axiom/index.js +297 -21466
- package/library/Libraries/axiom/index.js.map +1 -1
- package/library/browser.js +1370 -17252
- package/library/browser.js.map +1 -1
- package/library/cjs.js +1371 -17252
- package/library/cjs.js.map +1 -1
- package/library/index.js +1360 -17241
- package/library/index.js.map +1 -1
- package/package.json +5 -5
- package/rollup.config.mjs +19 -18
- package/.dockerignore +0 -4
- package/.yalc/@axdspub/axiom-ui-data-services/.dockerignore +0 -4
- package/.yalc/@axdspub/axiom-ui-data-services/.eslintrc.json +0 -28
- package/.yalc/@axdspub/axiom-ui-data-services/.gitlab-ci.yml +0 -140
- package/.yalc/@axdspub/axiom-ui-data-services/craco.config.cjs +0 -36
- package/.yalc/@axdspub/axiom-ui-data-services/docker/nginx/conf.d/default.conf +0 -46
- package/.yalc/@axdspub/axiom-ui-data-services/docker-compose.yml +0 -18
- package/.yalc/@axdspub/axiom-ui-data-services/library/axiom-ui-data-services.d.ts +0 -313
- package/.yalc/@axdspub/axiom-ui-data-services/library/browser.js +0 -18498
- package/.yalc/@axdspub/axiom-ui-data-services/library/browser.js.map +0 -1
- package/.yalc/@axdspub/axiom-ui-data-services/library/cjs.js +0 -18493
- package/.yalc/@axdspub/axiom-ui-data-services/library/cjs.js.map +0 -1
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/App.d.ts +0 -4
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/App.d.ts.map +0 -1
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/Components/JSON/VanillaJSONEditor.d.ts +0 -8
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/Components/JSON/VanillaJSONEditor.d.ts.map +0 -1
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/DataService.d.ts +0 -34
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/DataService.d.ts.map +0 -1
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/DataService.stories.d.ts +0 -23
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/DataService.stories.d.ts.map +0 -1
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/RequestItem.d.ts +0 -27
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/RequestItem.d.ts.map +0 -1
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/RequestItem.stories.d.ts +0 -19
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/RequestItem.stories.d.ts.map +0 -1
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/Types.d.ts +0 -245
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/Types.d.ts.map +0 -1
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/dataServiceHelpers.d.ts +0 -12
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/dataServiceHelpers.d.ts.map +0 -1
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/endpoints/index.d.ts +0 -9
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/endpoints/index.d.ts.map +0 -1
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/index.d.ts +0 -2
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/index.d.ts.map +0 -1
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/library.d.ts +0 -6
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/library.d.ts.map +0 -1
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/parsers/groupAndSum.d.ts +0 -1
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/parsers/groupAndSum.d.ts.map +0 -1
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/parsers/index.d.ts +0 -13
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/parsers/index.d.ts.map +0 -1
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/reportWebVitals.d.ts +0 -4
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/reportWebVitals.d.ts.map +0 -1
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/services.d.ts +0 -11
- package/.yalc/@axdspub/axiom-ui-data-services/library/dist/esm/types/services.d.ts.map +0 -1
- package/.yalc/@axdspub/axiom-ui-data-services/library/index.js +0 -18488
- package/.yalc/@axdspub/axiom-ui-data-services/library/index.js.map +0 -1
- package/.yalc/@axdspub/axiom-ui-data-services/package.json +0 -72
- package/.yalc/@axdspub/axiom-ui-data-services/rollup.config.mjs +0 -54
- package/.yalc/@axdspub/axiom-ui-data-services/tsconfig.json +0 -45
- package/.yalc/@axdspub/axiom-ui-data-services/tsconfig.paths.json +0 -11
- package/.yalc/@axdspub/axiom-ui-data-services/yalc.sig +0 -1
- package/docker/nginx/conf.d/default.conf +0 -46
- package/library/Libraries/axiom/assets/browser-ff7df1e3.css +0 -19
- package/library/Libraries/axiom/assets/cjs-ff7df1e3.css +0 -19
- package/library/Libraries/axiom/browser.js +0 -22644
- package/library/Libraries/axiom/browser.js.map +0 -1
- package/library/Libraries/axiom/cjs.js +0 -22644
- package/library/Libraries/axiom/cjs.js.map +0 -1
- package/yalc.lock +0 -10
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axdspub/axiom-charts",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "./library/index.js",
|
|
6
6
|
"typings": "./library/axiom-charts.d.ts",
|
|
7
|
-
"
|
|
7
|
+
"dependencies": {
|
|
8
|
+
"@axdspub/axiom-ui-data-services": "^0.0.4",
|
|
8
9
|
"d3": "^7.8.4",
|
|
9
10
|
"d3-axis": "^3.0.0",
|
|
10
11
|
"d3-dsv": "^3.0.1",
|
|
11
12
|
"react": "^18.2.0",
|
|
12
13
|
"react-dom": "^18.2.0",
|
|
13
|
-
"react-scripts": "5.0.1"
|
|
14
|
-
"@axdspub/axiom-ui-data-services": "^0.0.4"
|
|
14
|
+
"react-scripts": "5.0.1"
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
|
17
17
|
"start": "set PORT=3063 && craco start ",
|
|
@@ -78,6 +78,7 @@
|
|
|
78
78
|
"@testing-library/jest-dom": "^5.16.5",
|
|
79
79
|
"@testing-library/react": "^13.4.0",
|
|
80
80
|
"@testing-library/user-event": "^13.5.0",
|
|
81
|
+
"@types/babel__core": "^7.20.1",
|
|
81
82
|
"@types/d3": "^7.4.0",
|
|
82
83
|
"@types/d3-axis": "^3.0.2",
|
|
83
84
|
"@types/d3-dsv": "^3.0.1",
|
|
@@ -101,7 +102,6 @@
|
|
|
101
102
|
"rollup": "^3.26.3",
|
|
102
103
|
"rollup-plugin-dts": "^5.3.0",
|
|
103
104
|
"rollup-plugin-import-css": "^3.3.1",
|
|
104
|
-
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
105
105
|
"storybook": "^7.0.27",
|
|
106
106
|
"typescript": "^5.0.4",
|
|
107
107
|
"web-vitals": "^2.1.4",
|
package/rollup.config.mjs
CHANGED
|
@@ -3,18 +3,34 @@ import commonjs from '@rollup/plugin-commonjs'
|
|
|
3
3
|
import typescript from '@rollup/plugin-typescript'
|
|
4
4
|
import dts from 'rollup-plugin-dts'
|
|
5
5
|
import alias from '@rollup/plugin-alias'
|
|
6
|
-
import peerDepsExternal from 'rollup-plugin-peer-deps-external'
|
|
7
6
|
import css from 'rollup-plugin-import-css'
|
|
8
7
|
// import packageJson from './package.json'
|
|
9
8
|
const external = [
|
|
10
9
|
'react',
|
|
11
10
|
'react-dom',
|
|
12
|
-
'react-scripts'
|
|
11
|
+
'react-scripts',
|
|
12
|
+
'd3',
|
|
13
|
+
'd3-selection',
|
|
14
|
+
'd3-dsv',
|
|
15
|
+
'd3-axis',
|
|
16
|
+
'd3-shape',
|
|
17
|
+
'd3-array',
|
|
18
|
+
'd3-scale',
|
|
19
|
+
'lodash',
|
|
20
|
+
'@axdspub/axiom-ui-data-services'
|
|
13
21
|
]
|
|
14
22
|
const globals = {
|
|
23
|
+
d3: 'd3',
|
|
24
|
+
'd3-selection': 'd3Selection',
|
|
25
|
+
'd3-array': 'd3Array',
|
|
26
|
+
'd3-scale': 'd3Scale',
|
|
27
|
+
'd3-dsv': 'd3Dsv',
|
|
15
28
|
'd3-axis': 'd3Axis',
|
|
29
|
+
'd3-shape': 'd3Shape',
|
|
16
30
|
'react/jsx-runtime': 'JSXRuntime',
|
|
17
|
-
react: 'React'
|
|
31
|
+
react: 'React',
|
|
32
|
+
lodash: 'lodash',
|
|
33
|
+
'@axdspub/axiom-ui-data-services': 'AxiomUIDataServices'
|
|
18
34
|
}
|
|
19
35
|
const config = [
|
|
20
36
|
{
|
|
@@ -45,7 +61,6 @@ const config = [
|
|
|
45
61
|
plugins: [
|
|
46
62
|
resolve(),
|
|
47
63
|
commonjs(),
|
|
48
|
-
peerDepsExternal(),
|
|
49
64
|
typescript({ tsconfig: './tsconfig.json' }),
|
|
50
65
|
alias({
|
|
51
66
|
entries: {
|
|
@@ -63,31 +78,17 @@ const config = [
|
|
|
63
78
|
},
|
|
64
79
|
external,
|
|
65
80
|
output: [
|
|
66
|
-
{
|
|
67
|
-
file: 'library/Libraries/axiom/cjs.js',
|
|
68
|
-
format: 'cjs',
|
|
69
|
-
sourcemap: true,
|
|
70
|
-
globals
|
|
71
|
-
},
|
|
72
81
|
{
|
|
73
82
|
file: 'library/Libraries/axiom/index.js',
|
|
74
83
|
format: 'esm',
|
|
75
84
|
sourcemap: true,
|
|
76
85
|
globals
|
|
77
86
|
// preserveModules: true
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
file: 'library/Libraries/axiom/browser.js',
|
|
81
|
-
format: 'iife',
|
|
82
|
-
name: 'AxiomCharts',
|
|
83
|
-
sourcemap: true,
|
|
84
|
-
globals
|
|
85
87
|
}
|
|
86
88
|
],
|
|
87
89
|
plugins: [
|
|
88
90
|
resolve(),
|
|
89
91
|
commonjs(),
|
|
90
|
-
peerDepsExternal(),
|
|
91
92
|
css(),
|
|
92
93
|
typescript({ tsconfig: './tsconfig.json' }),
|
|
93
94
|
alias({
|
package/.dockerignore
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"env": {
|
|
3
|
-
"browser": true,
|
|
4
|
-
"es2021": true
|
|
5
|
-
},
|
|
6
|
-
"extends": [
|
|
7
|
-
"plugin:react/recommended",
|
|
8
|
-
"standard-with-typescript"
|
|
9
|
-
],
|
|
10
|
-
"overrides": [
|
|
11
|
-
],
|
|
12
|
-
"parserOptions": {
|
|
13
|
-
"ecmaVersion": "latest",
|
|
14
|
-
"sourceType": "module",
|
|
15
|
-
"project": ["./tsconfig.json"]
|
|
16
|
-
},
|
|
17
|
-
"plugins": [
|
|
18
|
-
"react"
|
|
19
|
-
],
|
|
20
|
-
"rules": {
|
|
21
|
-
"ignoreIIFE": 0
|
|
22
|
-
},
|
|
23
|
-
"ignorePatterns": [
|
|
24
|
-
"**/build/*",
|
|
25
|
-
"**/library/*",
|
|
26
|
-
"**/node_modules/*"
|
|
27
|
-
]
|
|
28
|
-
}
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
stages:
|
|
2
|
-
- build
|
|
3
|
-
- test
|
|
4
|
-
- push
|
|
5
|
-
- clean
|
|
6
|
-
- deploy
|
|
7
|
-
|
|
8
|
-
build_image:
|
|
9
|
-
stage: build
|
|
10
|
-
script:
|
|
11
|
-
- docker build -f Dockerfile -t $CI_PROJECT_NAME:$CI_PIPELINE_ID .
|
|
12
|
-
- docker build -f Dockerfile.storybook -t $CI_PROJECT_NAME-storybook:$CI_PIPELINE_ID .
|
|
13
|
-
|
|
14
|
-
test:
|
|
15
|
-
stage: test
|
|
16
|
-
image: $CI_PROJECT_NAME:$CI_PIPELINE_ID
|
|
17
|
-
script:
|
|
18
|
-
- test -e /usr/share/nginx/html/index.html
|
|
19
|
-
- test -e /usr/share/nginx/html/asset-manifest.json
|
|
20
|
-
|
|
21
|
-
test_storybook:
|
|
22
|
-
stage: test
|
|
23
|
-
image: $CI_PROJECT_NAME-storybook:$CI_PIPELINE_ID
|
|
24
|
-
script:
|
|
25
|
-
- test -e /usr/share/nginx/html/index.html
|
|
26
|
-
- test -e /usr/share/nginx/html/stories.json
|
|
27
|
-
|
|
28
|
-
push_latest:
|
|
29
|
-
stage: push
|
|
30
|
-
only:
|
|
31
|
-
- main
|
|
32
|
-
script:
|
|
33
|
-
- docker tag $CI_PROJECT_NAME:$CI_PIPELINE_ID registry.axiom/$CI_PROJECT_NAME:latest
|
|
34
|
-
- docker push registry.axiom/$CI_PROJECT_NAME:latest
|
|
35
|
-
|
|
36
|
-
push_branch:
|
|
37
|
-
stage: push
|
|
38
|
-
only:
|
|
39
|
-
- branches
|
|
40
|
-
except:
|
|
41
|
-
- main
|
|
42
|
-
script:
|
|
43
|
-
- docker tag $CI_PROJECT_NAME:$CI_PIPELINE_ID registry.axiom/$CI_PROJECT_NAME:$CI_COMMIT_REF_NAME
|
|
44
|
-
- docker push registry.axiom/$CI_PROJECT_NAME:$CI_COMMIT_REF_NAME
|
|
45
|
-
|
|
46
|
-
push_branch_storybook:
|
|
47
|
-
stage: push
|
|
48
|
-
only:
|
|
49
|
-
- branches
|
|
50
|
-
except:
|
|
51
|
-
- main
|
|
52
|
-
script:
|
|
53
|
-
- docker tag $CI_PROJECT_NAME-storybook:$CI_PIPELINE_ID registry.axiom/$CI_PROJECT_NAME-storybook:$CI_COMMIT_REF_NAME
|
|
54
|
-
- docker push registry.axiom/$CI_PROJECT_NAME-storybook:$CI_COMMIT_REF_NAME
|
|
55
|
-
|
|
56
|
-
push_latest_storybook:
|
|
57
|
-
stage: push
|
|
58
|
-
only:
|
|
59
|
-
- main
|
|
60
|
-
script:
|
|
61
|
-
- docker tag $CI_PROJECT_NAME-storybook:$CI_PIPELINE_ID registry.axiom/$CI_PROJECT_NAME-storybook:latest
|
|
62
|
-
- docker push registry.axiom/$CI_PROJECT_NAME-storybook:latest
|
|
63
|
-
|
|
64
|
-
push_tag:
|
|
65
|
-
stage: push
|
|
66
|
-
only:
|
|
67
|
-
- tags
|
|
68
|
-
script:
|
|
69
|
-
- docker tag $CI_PROJECT_NAME:$CI_PIPELINE_ID registry.axiom/$CI_PROJECT_NAME:$CI_BUILD_TAG
|
|
70
|
-
- docker push registry.axiom/$CI_PROJECT_NAME:$CI_BUILD_TAG
|
|
71
|
-
- docker tag $CI_PROJECT_NAME:$CI_PIPELINE_ID registry.axiom/$CI_PROJECT_NAME:prod
|
|
72
|
-
- docker push registry.axiom/$CI_PROJECT_NAME:prod
|
|
73
|
-
|
|
74
|
-
push_tag_storybook:
|
|
75
|
-
stage: push
|
|
76
|
-
only:
|
|
77
|
-
- tags
|
|
78
|
-
script:
|
|
79
|
-
- docker tag $CI_PROJECT_NAME-storybook:$CI_PIPELINE_ID registry.axiom/$CI_PROJECT_NAME-storybook:$CI_BUILD_TAG
|
|
80
|
-
- docker push registry.axiom/$CI_PROJECT_NAME-storybook:$CI_BUILD_TAG
|
|
81
|
-
- docker tag $CI_PROJECT_NAME-storybook:$CI_PIPELINE_ID registry.axiom/$CI_PROJECT_NAME-storybook:prod
|
|
82
|
-
- docker push registry.axiom/$CI_PROJECT_NAME-storybook:prod
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
clean_latest:
|
|
86
|
-
stage: clean
|
|
87
|
-
only:
|
|
88
|
-
- main
|
|
89
|
-
script:
|
|
90
|
-
- docker rmi --no-prune $CI_PROJECT_NAME:$CI_PIPELINE_ID
|
|
91
|
-
- docker rmi --no-prune registry.axiom/$CI_PROJECT_NAME:latest
|
|
92
|
-
|
|
93
|
-
clean_latest_storybook:
|
|
94
|
-
stage: clean
|
|
95
|
-
only:
|
|
96
|
-
- main
|
|
97
|
-
script:
|
|
98
|
-
- docker rmi --no-prune $CI_PROJECT_NAME-storybook:$CI_PIPELINE_ID
|
|
99
|
-
- docker rmi --no-prune registry.axiom/$CI_PROJECT_NAME-storybook:latest
|
|
100
|
-
|
|
101
|
-
clean_tag:
|
|
102
|
-
stage: clean
|
|
103
|
-
only:
|
|
104
|
-
- tags
|
|
105
|
-
script:
|
|
106
|
-
- docker rmi --no-prune $CI_PROJECT_NAME:$CI_PIPELINE_ID
|
|
107
|
-
- docker rmi --no-prune registry.axiom/$CI_PROJECT_NAME:$CI_BUILD_TAG
|
|
108
|
-
- docker rmi --no-prune registry.axiom/$CI_PROJECT_NAME:prod
|
|
109
|
-
|
|
110
|
-
clean_tag_storybook:
|
|
111
|
-
stage: clean
|
|
112
|
-
only:
|
|
113
|
-
- tags
|
|
114
|
-
script:
|
|
115
|
-
- docker rmi --no-prune $CI_PROJECT_NAME-storybook:$CI_PIPELINE_ID
|
|
116
|
-
- docker rmi --no-prune registry.axiom/$CI_PROJECT_NAME-storybook:$CI_BUILD_TAG
|
|
117
|
-
- docker rmi --no-prune registry.axiom/$CI_PROJECT_NAME-storybook:prod
|
|
118
|
-
|
|
119
|
-
deploy_app_and_storybook:
|
|
120
|
-
stage: deploy
|
|
121
|
-
only:
|
|
122
|
-
- main
|
|
123
|
-
script:
|
|
124
|
-
- aps apps-prod axiom-ui-data-services-and-storybook
|
|
125
|
-
|
|
126
|
-
# deploy_prod:
|
|
127
|
-
# stage: deploy
|
|
128
|
-
# environment: production
|
|
129
|
-
# only:
|
|
130
|
-
# - tags
|
|
131
|
-
# script:
|
|
132
|
-
# - docker run --rm registry.axiom/ansible aps apps-prod $CI_PROJECT_NAME -e $CI_PROJECT_NAME_version=$CI_BUILD_TAG --tags deploy
|
|
133
|
-
|
|
134
|
-
# deploy_prod_storybook:
|
|
135
|
-
# stage: deploy
|
|
136
|
-
# environment: production
|
|
137
|
-
# only:
|
|
138
|
-
# - tags
|
|
139
|
-
# script:
|
|
140
|
-
# - docker run --rm registry.axiom/ansible aps apps-prod $CI_PROJECT_NAME-storybook -e $CI_PROJECT_NAME-storybook_version=$CI_BUILD_TAG --tags deploy
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
const path = require('path')
|
|
2
|
-
// someday, clean up the the FOUR! repeated declarations of aliases (others are is in tsconfig.paths.json => tsconfig.json and .storybook/main.ts)
|
|
3
|
-
// https://stackoverflow.com/a/71892901
|
|
4
|
-
console.log(path.resolve(__dirname, './src/'))
|
|
5
|
-
|
|
6
|
-
module.exports = {
|
|
7
|
-
webpack: {
|
|
8
|
-
eslint: {
|
|
9
|
-
enable: false
|
|
10
|
-
},
|
|
11
|
-
alias: {
|
|
12
|
-
'@': path.resolve(__dirname, './src/')
|
|
13
|
-
},
|
|
14
|
-
typescript: {
|
|
15
|
-
enableTypeChecking: true
|
|
16
|
-
},
|
|
17
|
-
configure: {
|
|
18
|
-
ignoreWarnings: [/Failed to parse source map/],
|
|
19
|
-
resolve: {
|
|
20
|
-
fallback: {
|
|
21
|
-
https: false,
|
|
22
|
-
http: false,
|
|
23
|
-
path: false,
|
|
24
|
-
zlib: false
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
jest: {
|
|
30
|
-
configure: {
|
|
31
|
-
verbose: true,
|
|
32
|
-
moduleNameMapper: {}
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
plugins: []
|
|
36
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
server {
|
|
2
|
-
listen 80;
|
|
3
|
-
listen [::]:80;
|
|
4
|
-
server_name localhost;
|
|
5
|
-
|
|
6
|
-
#access_log /var/log/nginx/host.access.log main;
|
|
7
|
-
|
|
8
|
-
location / {
|
|
9
|
-
root /usr/share/nginx/html;
|
|
10
|
-
index index.html index.htm;
|
|
11
|
-
|
|
12
|
-
try_files $uri /index.html;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
#error_page 404 /404.html;
|
|
16
|
-
|
|
17
|
-
# redirect server error pages to the static page /50x.html
|
|
18
|
-
#
|
|
19
|
-
error_page 500 502 503 504 /50x.html;
|
|
20
|
-
location = /50x.html {
|
|
21
|
-
root /usr/share/nginx/html;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
# proxy the PHP scripts to Apache listening on 127.0.0.1:80
|
|
25
|
-
#
|
|
26
|
-
#location ~ \.php$ {
|
|
27
|
-
# proxy_pass http://127.0.0.1;
|
|
28
|
-
#}
|
|
29
|
-
|
|
30
|
-
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
|
|
31
|
-
#
|
|
32
|
-
#location ~ \.php$ {
|
|
33
|
-
# root html;
|
|
34
|
-
# fastcgi_pass 127.0.0.1:9000;
|
|
35
|
-
# fastcgi_index index.php;
|
|
36
|
-
# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
|
|
37
|
-
# include fastcgi_params;
|
|
38
|
-
#}
|
|
39
|
-
|
|
40
|
-
# deny access to .htaccess files, if Apache's document root
|
|
41
|
-
# concurs with nginx's one
|
|
42
|
-
#
|
|
43
|
-
#location ~ /\.ht {
|
|
44
|
-
# deny all;
|
|
45
|
-
#}
|
|
46
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
services:
|
|
2
|
-
app:
|
|
3
|
-
image: axiom-ui-dataservices:latest
|
|
4
|
-
build:
|
|
5
|
-
context: .
|
|
6
|
-
dockerfile: Dockerfile
|
|
7
|
-
ports:
|
|
8
|
-
- "8787:80"
|
|
9
|
-
# profiles:
|
|
10
|
-
# - app
|
|
11
|
-
|
|
12
|
-
storybook:
|
|
13
|
-
image: axiom-ui-dataservices-storybook:latest
|
|
14
|
-
build:
|
|
15
|
-
context: .
|
|
16
|
-
dockerfile: Dockerfile.storybook
|
|
17
|
-
ports:
|
|
18
|
-
- "8888:80"
|