Revise docker-compose dev setup for windows (#2344)

This commit is contained in:
Akshay 2022-02-26 22:13:57 +05:30 committed by GitHub
parent 5cbf6c76ad
commit c0e8049ef3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View file

@ -8,7 +8,7 @@ services:
image: tooljet-plugins:development
platform: linux/x86_64
volumes:
- plugins_vol:/app/plugins
- ./plugins:/app/plugins
command: npm run --prefix plugins start
client:
@ -19,7 +19,7 @@ services:
platform: linux/x86_64
volumes:
- ./frontend:/app/frontend:delegated
- plugins_vol:/app/plugins
- ./plugins:/app/plugins
- /app/frontend/node_modules/
ports:
- 8082:8082
@ -38,7 +38,7 @@ services:
- postgres
volumes:
- ./server:/app/server:delegated
- plugins_vol:/app/plugins
- ./plugins:/app/plugins
- /app/server/node_modules/
- ./.env:/app/.env
- ./.env.test:/app/.env.test
@ -61,8 +61,3 @@ services:
volumes:
postgres:
plugins_vol:
driver_opts:
type: none
device: ${PWD}/plugins
o: bind

View file

@ -26,6 +26,11 @@ docker-compose version 1.26.2, build eefe0d31
## Setting up
:::tip
If you are setting up on a Windows machine, we advise you to setup Docker desktop with WSL2.
Please find more information [here](https://docs.docker.com/desktop/windows/wsl/).
:::
1. Clone the repository
```bash
git clone https://github.com/tooljet/tooljet.git