Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-workflow
Commits
6150962c
Commit
6150962c
authored
1 year ago
by
Amit Sharma
Browse files
Options
Download
Patches
Plain Diff
Centro Configs
parent
b1f4e8c7
feat/centro
dev
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.gitpod.yml
+6
-1
.gitpod.yml
docker-compose.yml
+6
-0
docker-compose.yml
packages/centro/.dockerignore
+3
-0
packages/centro/.dockerignore
packages/centro/Dockerfile
+19
-0
packages/centro/Dockerfile
packages/centro/config/config.json
+1
-1
packages/centro/config/config.json
with
35 additions
and
2 deletions
+35
-2
.gitpod.yml
+
6
−
1
View file @
6150962c
...
...
@@ -73,4 +73,9 @@ ports:
-
port
:
9000
onOpen
:
ignore
visibility
:
public
description
:
Minio API
\ No newline at end of file
description
:
Minio API
-
port
:
3560
onOpen
:
ignore
visibility
:
public
description
:
Centro API
\ No newline at end of file
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
6
−
0
View file @
6150962c
...
...
@@ -207,6 +207,12 @@ services:
REACT_APP_HASURA_URL
:
${REACT_APP_HASURA_URL}
ports
:
-
3000:80
centro
:
image
:
centro
build
:
packages/centro
ports
:
-
3560:3560
networks
:
db_net
:
...
...
This diff is collapsed.
Click to expand it.
packages/centro/.dockerignore
0 → 100644
+
3
−
0
View file @
6150962c
.env
node_modules
dist
\ No newline at end of file
This diff is collapsed.
Click to expand it.
packages/centro/Dockerfile
0 → 100644
+
19
−
0
View file @
6150962c
FROM
node:16
# Create app directory
WORKDIR
/app
# Install app dependencies
# A wildcard is used to ensure both package.json AND package-lock.json are copied
# where available (npm@5+)
COPY
package*.json ./
RUN
npm
install
# If you are building your code for production
# RUN npm ci --omit=dev
# Bundle app source
COPY
. .
EXPOSE
3560
CMD
[ "npm", "run", "start" ]
\ No newline at end of file
This diff is collapsed.
Click to expand it.
packages/centro/config/config.json
+
1
−
1
View file @
6150962c
{
"name"
:
"Centro"
,
"port"
:
3
00
0
,
"port"
:
3
56
0
,
"enketo"
:
{
"api url"
:
"http://localhost:8005/api/v1"
,
"api key"
:
"enketorules"
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets