File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- version : " 2 "
1+ version : ' 2 '
22services :
33
44 node :
55 volumes :
6- - ../reactjs:/app
7- # For macOS users (https://wodby.com/stacks/drupal/docs/local/docker-for-mac/)
8- # - ../reactjs:/app:cached
6+ - ../reactjs:/app:cached
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ services:
1010 - ' traefik.frontend.rule=Host:app.${PROJECT_BASE_URL}'
1111 expose :
1212 - " 3000"
13+ command : yarn start:dev
1314
1415 traefik :
15- image : traefik
16- restart : unless-stopped
16+ image : traefik:$TRAEFIK_TAG
1717 command : -c /dev/null --web --docker --logLevel=INFO
1818 ports :
1919 - ' 80:80'
Original file line number Diff line number Diff line change @@ -5,5 +5,6 @@ COMPOSE_PROJECT_NAME=systemseed
55# Project settings.
66PROJECT_BASE_URL=docker.localhost
77
8- # Container versions.
8+ # Image versions.
99NODE_TAG=8.11-0.3.0
10+ TRAEFIK_TAG=1.7.16
Original file line number Diff line number Diff line change 2424 @echo " ${YELLOW} Build and run containers...${COLOR_END} "
2525 docker-compose up -d --remove-orphans
2626 @echo " ${YELLOW} Starting the project...${COLOR_END} "
27- docker-compose run node yarn start:dev
27+ docker-compose logs -f node
2828
2929stop :
3030 @echo " ${YELLOW} Stopping containers...${COLOR_END} "
You can’t perform that action at this time.
0 commit comments