https://github.com/restuwahyu13/node-nginx
simple setup node with nginx on docker for beginner
https://github.com/restuwahyu13/node-nginx
docker nginx-docker nginx-proxy nodejs
Last synced: 5 days ago
JSON representation
simple setup node with nginx on docker for beginner
- Host: GitHub
- URL: https://github.com/restuwahyu13/node-nginx
- Owner: restuwahyu13
- Created: 2021-02-04T11:02:19.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-05-03T05:13:57.000Z (almost 2 years ago)
- Last Synced: 2025-03-31T06:25:16.007Z (24 days ago)
- Topics: docker, nginx-docker, nginx-proxy, nodejs
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 15
- Watchers: 1
- Forks: 21
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Node Nginx With Docker
Simple Setup Nginx HTTP (Only) As Reverse proxy and simple Express Nodejs.
**Used Ports**
- 80 (As Ingress)
- 3000 (As Application (Optional))## Deploying / Running
1. Change `env` file to `.env` and edit them.
2. If you want to see the app as localhost, Uncomment the `port` section in `webapp` service
3. Run `docker-compose up --env-file ./config/.env up` or `docker-compose build` then `docker-compose start` (If want to build)## Installation
### Required Package/Software
1. Docker and docker-compose (Linux) Docker Desktop (Windows/Mac) Dockstation run Hyper-V (Windows)
2. Nodejs with NPM (Optional for simple app editing)## Author
[Restu Wahyu](https://github.com/restuwahyu13)
## Contributor
[Baharsah](https://github.com/baharsah)