Closed ShakeelPK closed 11 months ago
Docker status
Did you install the app on a remote host? If yes you need to set the IP address of your host in the Docker Compose file.
It's install on my virtual machine which is contacted via bridged network. Can you please tell me were i need to write the ip address in docker-compose file?
Is this right place to add my machine ip and if yes then i need to write the backend port address ?
This is an old version of the Compose file. Please clone the latest version of the repository and uncomment the following lines:
#args:
# - BACKEND_URL=http://<IP_ADDRESS>:<PORT> # Backend URL without trailing slash
I believe I'm doing mistake can you please help out to identify the problem because I'm getting same error after enter the my virtual machine ip
You are using an old version with a bug when deploying to a remote machine. Please download the latest version and use this as your compose file:
version: "3.8"
services:
backend:
build: ./backend
container_name: backend
ports:
- "8000:8000"
frontend:
build:
context: ./frontend
args:
- BACKEND_URL=http://192.168.1.24:8000 # Backend URL without trailing slash
container_name: frontend
ports:
- "3000:3000"
stdin_open: true
tty: true
I'm trying to run this tool on docker after everything is up and trying to access 3000 port its show me error. ScreenShot Attached
Waiting for your response