File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed
Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 11CONTAINRX_EXPOSE_PORT =
22# MONGO_URI= use only if running individually
33SECRET_KEY =
4- DOCKER_ENGINE_HOST =
4+ DOCKER_ENGINE_URL =
Original file line number Diff line number Diff line change @@ -9,18 +9,18 @@ services:
99 - mongodb-data:/data/db
1010 restart : unless-stopped
1111
12- containrx :
12+ containrx-server :
1313 build :
14- context : https://github.com/shaasium/containrx.git#main
14+ context : https://github.com/shaasium/containrx-server .git#main
1515 dockerfile : Dockerfile
16- container_name : containrx
16+ container_name : containrx-server
1717 ports :
1818 - ${CONTAINRX_EXPOSE_PORT}:${CONTAINRX_EXPOSE_PORT}
1919 environment :
2020 - CONTAINRX_EXPOSE_PORT=${CONTAINRX_EXPOSE_PORT}
2121 - MONGO_URI=mongodb://mongodb:27017/containrx
2222 - SECRET_KEY=${SECRET_KEY}
23- - DOCKER_ENGINE_HOST =${DOCKER_ENGINE_HOST }
23+ - DOCKER_ENGINE_URL =${DOCKER_ENGINE_URL }
2424 depends_on :
2525 - mongodb
2626 restart : unless-stopped
@@ -30,12 +30,12 @@ services:
3030 context : https://github.com/shaasium/containrx-dashboard.git#main
3131 dockerfile : Dockerfile
3232 args :
33- - NEXT_PUBLIC_BACKEND_URL=http://containrx :${CONTAINRX_EXPOSE_PORT}
33+ - NEXT_PUBLIC_BACKEND_URL=http://localhost :${CONTAINRX_EXPOSE_PORT}
3434 container_name : containrx-dashboard
3535 ports :
3636 - 3000:3000
3737 depends_on :
38- - containrx
38+ - containrx-server
3939 restart : unless-stopped
4040
4141volumes :
Original file line number Diff line number Diff line change 11import Docker from "dockerode" ;
22
33export const dockerApi = new Docker ( {
4- host : process . env . DOCKER_ENGINE_HOST ,
5- port : "2375" ,
4+ host : process . env . DOCKER_ENGINE_URL ,
65} ) ;
You can’t perform that action at this time.
0 commit comments