代码拉取完成,页面将自动刷新
version: "3"
services:
plugins:
build:
context: ./
dockerfile: ./docker/plugins.Dockerfile.dev
image: tooljet-plugins:development
platform: linux/x86_64
volumes:
- ./plugins:/app/plugins
command: npm run --prefix plugins start
client:
build:
context: ./
dockerfile: ./docker/client.Dockerfile.dev
image: tooljet-client:development
platform: linux/x86_64
volumes:
- ./frontend:/app/frontend:delegated
- ./plugins:/app/plugins
- /app/frontend/node_modules/
ports:
- 8082:8082
environment:
- WEBPACKER_DEV_SERVER_HOST=0.0.0.0
- NODE_ENV=development
- SERVE_CLIENT=false
command: npm run --prefix frontend start
server:
build:
context: ./
dockerfile: ./docker/server.Dockerfile.dev
image: tooljet-server:development
platform: linux/x86_64
depends_on:
postgres:
condition: service_healthy
volumes:
- ./server:/app/server:delegated
- ./plugins:/app/plugins
- /app/server/node_modules/
- ./.env:/app/.env
- ./.env.test:/app/.env.test
ports:
- 3000:3000
environment:
- SERVE_CLIENT=false
- FORCE_COLOR=1
command: npm run --prefix server start:dev
postgrest:
image: postgrest/postgrest:v12.0.2
ports:
- "3001:3000"
env_file:
- .env
depends_on:
postgres:
condition: service_healthy
postgres:
image: postgres:13
restart: always
ports:
- 5432:5432
volumes:
- postgres:/data/postgres
environment:
- POSTGRES_PASSWORD=postgres
healthcheck:
test: ["CMD-SHELL", "pg_isready"]
interval: 10s
timeout: 5s
retries: 5
volumes:
postgres:
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。