ToolJet/deploy/docker/docker-compose-db.yaml
Adish M 2ac17e2242
Chore: Tooljet database and marketplace are mandatory set for render (#11173)
* Chore: Tooljet database and marketplace are mandatory set on render and other deployment file for CE

* added PGRST_DB_PRE_CONFIG=postgrest.pre_config

* edited .env.example file
2024-10-30 17:31:08 +05:30

51 lines
984 B
YAML

version: "3"
services:
tooljet:
tty: true
stdin_open: true
container_name: Tooljet-app
image: tooljet/tooljet-ce:latest
restart: always
env_file: .env
ports:
- 80:80
depends_on:
- postgres
environment:
SERVE_CLIENT: "true"
PORT: "80"
command: npm run start:prod
postgres:
container_name: ${PG_HOST}
image: postgres:13
restart: always
volumes:
- postgres:/var/lib/postgresql/data
env_file: .env
environment:
- POSTGRES_USER=${PG_USER}
- POSTGRES_PASSWORD=${PG_PASS}
postgrest:
container_name: postgrest
image: postgrest/postgrest:v12.0.2
restart: always
depends_on:
- postgres
env_file: .env
environment:
- PGRST_SERVER_PORT=80
- PGRST_DB_PRE_CONFIG=postgrest.pre_config
volumes:
postgres:
driver: local
driver_opts:
o: bind
type: none
device: ${PWD}/postgres_data
certs:
logs:
fallbackcerts: