Skip to content

Commit dd28a60

Browse files
committed
changed name
Signed-off-by: Tanmay Vaij <tanmayvaij22@gmail.com>
1 parent d9e4763 commit dd28a60

File tree

3 files changed

+10
-13
lines changed

3 files changed

+10
-13
lines changed

.env.example

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
# backenv vars
2-
31
CONTAINRX_EXPOSE_PORT=
42
# MONGO_URI= use only if running individually
53
SECRET_KEY=
64
DOCKER_ENGINE_HOST=
7-
8-
# frontend vars
9-
# NEXT_PUBLIC_BACKEND_URL= use only if running individually

docker-compose.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ services:
99
- mongodb-data:/data/db
1010
restart: unless-stopped
1111

12-
13-
# Database Service
1412
containrx:
15-
image: modularminds/containrx:latest
13+
build:
14+
context: https://github.com/shaasium/containrx.git#main
15+
dockerfile: Dockerfile
1616
container_name: containrx
1717
ports:
1818
- ${CONTAINRX_EXPOSE_PORT}:${CONTAINRX_EXPOSE_PORT}
1919
environment:
20-
- PORT=${CONTAINRX_EXPOSE_PORT}
20+
- CONTAINRX_EXPOSE_PORT=${CONTAINRX_EXPOSE_PORT}
2121
- MONGO_URI=mongodb://mongodb:27017/containrx
2222
- SECRET_KEY=${SECRET_KEY}
2323
- DOCKER_ENGINE_HOST=${DOCKER_ENGINE_HOST}
@@ -26,12 +26,14 @@ services:
2626
restart: unless-stopped
2727

2828
containrx-dashboard:
29-
image: modularminds/containrx-dashboard:latest
29+
build:
30+
context: https://github.com/shaasium/containrx-dashboard.git#main
31+
dockerfile: Dockerfile
32+
args:
33+
- NEXT_PUBLIC_BACKEND_URL=http://containrx:${CONTAINRX_EXPOSE_PORT}
3034
container_name: containrx-dashboard
3135
ports:
3236
- 3000:3000
33-
environment:
34-
- NEXT_PUBLIC_BACKEND_URL=http://localhost:5000
3537
depends_on:
3638
- containrx
3739
restart: unless-stopped

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "containrx",
2+
"name": "containrx-backend",
33
"version": "1.0.0",
44
"main": "index.js",
55
"repository": "https://github.com/shaasium/containrx.git",

0 commit comments

Comments
 (0)