This project is just a boilerplate, the purpose of this project is to show the structure of the project, explain the used dockerfiles, to explain the deployment pipeline. A project that runs a Nginx, Node server and a react app(just build) via two separate containers, using Docker Compose and using Bitbucket Deployment Pipeline.
-
NodeJS
-
ReactJS
-
Bitbucket Deployment Pipeline
- Docker
- to do ...
Nginx and Letsencrypt configuration consists of 3 files. - nginx.conf - nginx_my.conf - nginx.env
- to do ...
- to do ...
- to do ...
- to do ...
Start via:
$ docker-compose up
# or detached
$ docker-compose up -d
Run a single container via:
$ docker-compose up server
Check status:
$ docker-compose ps
Stop:
$ docker-compose down
NOTE : if any dependencies change in package.json files, you probably will need to rebuild the container for the changes to appear, e.g.,
$ docker-compose down
$ docker-compose build
$ docker-compose up