Skip to content

Commit

Permalink
#81: disabled hot reload temp solution for win machine
Browse files Browse the repository at this point in the history
  • Loading branch information
Blagoja95 committed Feb 7, 2024
1 parent dfaba9d commit 72019b7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,26 @@ WELCOME
### Using docker compose:

#### Basic use
To start all services use `default` profile

1. Open terminal

2. Go to this project root (example: C:\Users\userName\DashNET)

3. copy .env file from existing example .env.example using command:

```bash
cp .env.example .env
```

4. Start docker compose using command:

```bash
# sudo DOCKER_BUILDKIT=0
docker compose --profile default up -d --build
```

To stop all services
5. Go to your browser -> type localhost:3000 url bar and press enter

To stop all services execute following command in project root;

```bash
# sudo
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ services:
deploy:
mode: replicated
replicas: ${NODE_REPLICAS}
volumes:
- './src/main/ui/src:/app/src:delegate'
# volumes:
# - './src/main/ui/src:/app/src' TODO: Volumes problem on Windows machine
environment:
- FAST_REFRESH=false
- WDS_SOCKET_PORT=${NODE_PORT}
Expand Down

0 comments on commit 72019b7

Please sign in to comment.