-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dockerize #26
base: master
Are you sure you want to change the base?
Dockerize #26
Conversation
docker-compose.yml
Outdated
REACT_APP_API_URL: "http://localhost:5000" | ||
container_name: my-frontend | ||
ports: | ||
- "3000:80" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to change to 80:80 ports
docker-compose.yml
Outdated
dockerfile: Dockerfile | ||
container_name: my-backend | ||
ports: | ||
- "5000:5000" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ports on the back end need to be removed. Traffic should be go inside docker-compose network
docker-compose.yml
Outdated
context: ./client | ||
dockerfile: Dockerfile | ||
args: | ||
REACT_APP_API_URL: "http://localhost:5000" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicated ENV/AGRS?
docker-compose.yml
Outdated
ports: | ||
- "3000:80" | ||
environment: | ||
- REACT_APP_API_URL=http://localhost:5000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicated ENV/AGRS?
No description provided.