https://github.com/lukasholzer/docker-express
Basic Docker skeleton for an express.js app that runs on an NGINX server
https://github.com/lukasholzer/docker-express
docker docker-compose dockerfile express expressjs nginx nodejs proxy-server
Last synced: 2 months ago
JSON representation
Basic Docker skeleton for an express.js app that runs on an NGINX server
- Host: GitHub
- URL: https://github.com/lukasholzer/docker-express
- Owner: lukasholzer
- License: mit
- Created: 2017-04-18T19:55:25.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-18T22:58:26.000Z (about 9 years ago)
- Last Synced: 2025-03-26T07:43:14.692Z (about 1 year ago)
- Topics: docker, docker-compose, dockerfile, express, expressjs, nginx, nodejs, proxy-server
- Language: Nginx
- Size: 5.86 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker Setup for NODE.js with NGINX
This is a bootstrap repository for a basic setup with [Docker](https://docs.docker.com/) for an Node.js powered Development environment with [express.js](http://expressjs.com/) and as Proxy Reverse a simple [NGINX](https://www.nginx.com/resources/wiki/) setup.
## Requirements
- [Docker](http://docker.com) Download the app for: [Mac OSX](https://download.docker.com/mac/stable/Docker.dmg) or [Windows 10 App](https://download.docker.com/win/stable/InstallDocker.msi)
- [Docker Compose](http://docs.docker.com/compose/) installation with [homebrew](https://brew.sh/index_de.html) `brew install docker-compose`
### Commands
A short list of useful commands for this Bootstrapping
- run: `docker-compose up`
- run in background: `docker-compose up -d`
- run and build: `docker-compose up --build`
- build: `docker-compose build`
- shutdown: `docker-compose down`
- list all images: `docker images -a`
- list all running images: `docker ps`
### stop all containers and delete all images on Mac
After this commands every image and container has to be pulled again and created.
Clean reset if the hard drive is messed up.
``` bash
docker stop $(docker ps -a -q)
docker rm -v $(docker ps -a -q)
docker rmi $(docker images -q)
```
## Maintainer
**Lukas Holzer**
* Email:
* Twitter: [@luka5c0m](https://twitter.com/luka5c0m)
* Web: [www.lukasholzer.com](http://www.lukasholzer.com)