Skip to content

Commit 68de6fc

Browse files
committed
Fixed the application installation / start up.
1 parent fd6c072 commit 68de6fc

4 files changed

Lines changed: 7 additions & 8 deletions

File tree

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
version: "2"
1+
version: '2'
22
services:
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

.docker/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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'

.env.default

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ COMPOSE_PROJECT_NAME=systemseed
55
# Project settings.
66
PROJECT_BASE_URL=docker.localhost
77

8-
# Container versions.
8+
# Image versions.
99
NODE_TAG=8.11-0.3.0
10+
TRAEFIK_TAG=1.7.16

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ up:
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

2929
stop:
3030
@echo "${YELLOW}Stopping containers...${COLOR_END}"

0 commit comments

Comments
 (0)