Commit 6150962c authored by Amit Sharma's avatar Amit Sharma
Browse files

Centro Configs

No related merge requests found
Showing with 35 additions and 2 deletions
+35 -2
......@@ -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
......@@ -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:
......
.env
node_modules
dist
\ No newline at end of file
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
{
"name": "Centro",
"port": 3000,
"port": 3560,
"enketo": {
"api url": "http://localhost:8005/api/v1",
"api key": "enketorules"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment