File tree Expand file tree Collapse file tree 3 files changed +10
-13
lines changed
Expand file tree Collapse file tree 3 files changed +10
-13
lines changed Original file line number Diff line number Diff line change 1- # backenv vars
2-
31CONTAINRX_EXPOSE_PORT =
42# MONGO_URI= use only if running individually
53SECRET_KEY =
64DOCKER_ENGINE_HOST =
7-
8- # frontend vars
9- # NEXT_PUBLIC_BACKEND_URL= use only if running individually
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments