- This is a simple template for a production environment using nginx.
- In the nginx_server/build you should put the build created by React build.
- It will expose your server in port 80.
- Every call to /api endpoint will be forwarded to the backend.
- If you need it you can use the socket.io configuration too.
- All the files are copied when you build, it´s not using mounting from folders.
- If you want to mount folder, remove the copy commands in each Dockerfile and mount the folders in the docker-compose.yml.
-
Notifications
You must be signed in to change notification settings - Fork 0
brianunlam/Nginx-and-backend-docker-compose
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published