2022-03-04 02:30:47 +00:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
|
|
services:
|
2022-12-30 11:01:38 +00:00
|
|
|
tooljet:
|
2022-03-04 02:30:47 +00:00
|
|
|
tty: true
|
|
|
|
|
stdin_open: true
|
2022-09-05 15:36:11 +00:00
|
|
|
image: tooljet/tooljet-ce:latest
|
2022-03-04 02:30:47 +00:00
|
|
|
restart: always
|
|
|
|
|
env_file: .env
|
|
|
|
|
ports:
|
|
|
|
|
- 80:80
|
|
|
|
|
depends_on:
|
|
|
|
|
- postgres
|
2022-09-05 15:36:11 +00:00
|
|
|
environment:
|
|
|
|
|
SERVE_CLIENT: "true"
|
|
|
|
|
PORT: "80"
|
|
|
|
|
command: npm run start:prod
|
2022-03-04 02:30:47 +00:00
|
|
|
|
|
|
|
|
postgres:
|
|
|
|
|
image: postgres:13
|
|
|
|
|
restart: always
|
|
|
|
|
ports:
|
|
|
|
|
- 5432:5432
|
|
|
|
|
volumes:
|
|
|
|
|
- postgres:/var/lib/postgresql/data
|
|
|
|
|
environment:
|
|
|
|
|
- POSTGRES_PASSWORD=postgres
|
|
|
|
|
|
2022-12-30 11:01:38 +00:00
|
|
|
# Uncomment if ENABLE_TOOLJET_DB=true
|
|
|
|
|
# postgrest:
|
|
|
|
|
# image: postgrest/postgrest:v10.1.1.20221215
|
|
|
|
|
# restart: always
|
|
|
|
|
# depends_on:
|
|
|
|
|
# - postgres
|
|
|
|
|
# env_file: .env
|
|
|
|
|
# environment:
|
|
|
|
|
# - PGRST_SERVER_PORT=80
|
|
|
|
|
|
2022-03-04 02:30:47 +00:00
|
|
|
volumes:
|
|
|
|
|
postgres:
|
|
|
|
|
driver: local
|
|
|
|
|
driver_opts:
|
|
|
|
|
o: bind
|
|
|
|
|
type: none
|
|
|
|
|
device: ${PWD}/postgres_data
|
|
|
|
|
certs:
|
|
|
|
|
logs:
|
|
|
|
|
fallbackcerts:
|