This is a simple boilerplate of containerized Express monolithic application using Docker/Docker Compose.
MIT License
This is a simple boilerplate of containerized Express monolithic application using Docker/Docker Compose.
% git clone https://github.com/<YOUR_USERNAME>/<YOUR_REPOSITORY>.git
% cp ./.env.example ./.env
# Build
% make build
# Run containers
% make up
% tree ./services -L 1
./services
├── mysql
├── nginx
└── node
See below for details.
key | value |
---|---|
Base image | node:16.13.0-alpine3.12 |
Dependency | DB container: service_healthy
|
key | value |
---|---|
Base image | nginx:1.21.3-alpine |
Dependency | Application container: service_started
|
key | value |
---|---|
Base image | mysql:8.0 |
Dependency | - |
MIT