mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
Merge pull request #10295 from ToolJet/docker-contribution
Fix root error in docker contribution setup
This commit is contained in:
commit
08a86c8fb8
1 changed files with 10 additions and 10 deletions
|
|
@ -6,6 +6,7 @@ services:
|
||||||
context: ./
|
context: ./
|
||||||
dockerfile: ./docker/plugins.Dockerfile.dev
|
dockerfile: ./docker/plugins.Dockerfile.dev
|
||||||
image: tooljet-plugins:development
|
image: tooljet-plugins:development
|
||||||
|
container_name: plugins
|
||||||
platform: linux/x86_64
|
platform: linux/x86_64
|
||||||
volumes:
|
volumes:
|
||||||
- ./plugins:/app/plugins
|
- ./plugins:/app/plugins
|
||||||
|
|
@ -16,6 +17,7 @@ services:
|
||||||
context: ./
|
context: ./
|
||||||
dockerfile: ./docker/client.Dockerfile.dev
|
dockerfile: ./docker/client.Dockerfile.dev
|
||||||
image: tooljet-client:development
|
image: tooljet-client:development
|
||||||
|
container_name: client
|
||||||
platform: linux/x86_64
|
platform: linux/x86_64
|
||||||
volumes:
|
volumes:
|
||||||
- ./frontend:/app/frontend:delegated
|
- ./frontend:/app/frontend:delegated
|
||||||
|
|
@ -34,10 +36,10 @@ services:
|
||||||
context: ./
|
context: ./
|
||||||
dockerfile: ./docker/server.Dockerfile.dev
|
dockerfile: ./docker/server.Dockerfile.dev
|
||||||
image: tooljet-server:development
|
image: tooljet-server:development
|
||||||
|
container_name: server
|
||||||
platform: linux/x86_64
|
platform: linux/x86_64
|
||||||
depends_on:
|
depends_on:
|
||||||
postgres:
|
- postgres
|
||||||
condition: service_healthy
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./server:/app/server:delegated
|
- ./server:/app/server:delegated
|
||||||
- ./plugins:/app/plugins
|
- ./plugins:/app/plugins
|
||||||
|
|
@ -52,29 +54,27 @@ services:
|
||||||
command: npm run --prefix server start:dev
|
command: npm run --prefix server start:dev
|
||||||
|
|
||||||
postgrest:
|
postgrest:
|
||||||
|
container_name: postgrest
|
||||||
image: postgrest/postgrest:v12.0.2
|
image: postgrest/postgrest:v12.0.2
|
||||||
ports:
|
ports:
|
||||||
- "3001:3000"
|
- "3001:3000"
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
depends_on:
|
depends_on:
|
||||||
postgres:
|
- postgres
|
||||||
condition: service_healthy
|
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
|
container_name: ${PG_HOST}
|
||||||
image: postgres:13
|
image: postgres:13
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
volumes:
|
volumes:
|
||||||
- postgres:/data/postgres
|
- postgres:/data/postgres
|
||||||
|
env_file: .env
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_PASSWORD=postgres
|
- POSTGRES_USER=${PG_USER}
|
||||||
healthcheck:
|
- POSTGRES_PASSWORD=${PG_PASS}
|
||||||
test: ["CMD-SHELL", "pg_isready"]
|
|
||||||
interval: 10s
|
|
||||||
timeout: 5s
|
|
||||||
retries: 5
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
postgres:
|
postgres:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue