This is a full react stack for your dailly development, you have nginx, MySQL and of course hot reloading configured by default.
Spin up the stack:
docker-compose up --remove-orphans
Or if you want to run it in background:
docker-compose up -d --remove-orphans
- All your project source files will be placed in the folder
react-app-template
.
Note:
Please don't change the name of react-app-template
folder, otherwise the stack will fail to start.
Username | Password |
---|---|
root | rstack_pass |
rstack | rstack_pass |
Default database: rstack_db
You can run this stack either as production
or development
for hot reloading, you have just to switch between the two envirnments by commenting one and uncommneting the other one in env
file.
Please report all issues here.
We welcome everyone to contribute to Docker react stack. You can do to contribute:
- Read our contributing guide.
- Fork us and request a pull.