arcadas / new-expressjs-docker

Node.js, Express.js, MongoDB, Docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New Express.js app in Docker

You can create a new Express.js project in a fully dockerized development environment with this repositroy.

Requirements: Docker

The mongo container contains the TylerBrock/mongo-hacker package.

Create and run:

docker-compose up -d

Run npm command from the host:

docker container exec <container name or id> npm <command>

Run mongo command:

docker container exec -it <container name or id> mongo

If you use nginx proxy, change the docker network name in the docker-compose.yml.

About

Node.js, Express.js, MongoDB, Docker


Languages

Language:Dockerfile 70.4%Language:JavaScript 29.6%