Skip to content

Create React App, Redux, NodeJS, NGINX, and Let's Encrypt Boilerplate with Docker Compose

License

Notifications You must be signed in to change notification settings

feux07/cra-redux-node-nginx-lets-encrypt-with-docker-compose

Repository files navigation

Contributors Forks Stargazers Issues MIT License

cra-redux-node-nginx-lets-encrypt-with-docker-compose

Create React App, Redux, NodeJS, NGINX, and Let's Encrypt Boilerplate with Docker Compose
Report Bug · Request Feature

Table of Contents

Getting Started

Prerequisites

  • NodeJS version >= 12.18.2
  • Docker version >= 19.03.08

Installation & Usage

  1. Clone the repo
git clone https://github.com/feux07/cra-redux-node-nginx-lets-encrypt-with-docker-compose.git
  1. Rename folder name with your project name
mv cra-redux-node-nginx-lets-encrypt-with-docker-compose your-project-name
  1. Go to the project directory
cd your-project-name
  1. Remove .git folder
rm -rf .git
  1. Generate React app
npx create-react-app client --template redux
  1. Rename .env-sample with .env
mv .env-sample .env
  1. Edit .env file with your parameters
NODE_ENV=production
INLINE_RUNTIME_CHUNK=false
WEB_APP=WEB
VIRTUAL_HOST=sample.website.com
VIRTUAL_NETWORK=nginx-proxy
VIRTUAL_PORT=8080
LETSENCRYPT_HOST=sample.website.com
LETSENCRYPT_EMAIL=sample@website.com
VOLUME_PATH=./volumes
  1. Run with Docker Compose
docker-compose up -d

Docs

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Website

About

Create React App, Redux, NodeJS, NGINX, and Let's Encrypt Boilerplate with Docker Compose

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published