Merge pull request #2773 from 488kuroi/feature-add_react

[ ADD ] react configuration
This commit is contained in:
Shao Yu-Lung (Allen)
2020-12-17 17:08:09 +08:00
committed by GitHub
71 changed files with 16891 additions and 0 deletions

View File

@ -53,6 +53,8 @@ volumes:
driver: ${VOLUMES_DRIVER}
docker-in-docker:
driver: ${VOLUMES_DRIVER}
react:
driver: ${VOLUMES_DRIVER}
services:
@ -1853,3 +1855,20 @@ services:
- ${DATA_PATH_HOST}/tomcat/logs:/usr/local/tomcat/logs
# restart: always
### react #####################################################
react:
build:
context: ./react
ports:
- "3000:3000"
container_name: react
stdin_open: true
environment:
- CHOKIDAR_USEPOLLING=true
networks:
- frontend
- backend
volumes:
- ./react:/usr/src/app/react
- /usr/src/app/react/node_modules