ToolJet/deploy/docker/docker-compose.yaml
Adish M 215f04be8b
Fix: Docker-compose file changes to reduce vulnerability with postgres service (#6915)
* Fix: Docker-compose file

* Corresponding env values added

* removing default port

* removed port from env

* adding comment in the .env file

* changes compose with separate .env files

* changes in the external.env.example file

* adding key.sh file

* updating keys.sh and .env.internal.example

* adding interactive bash for external set-up

* enabling tooljet_database as default

* out message correction

* output message corrections

* adding PG_PORT

* correction in internal.sh file
2023-08-03 15:40:11 +05:30

23 lines
482 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
environment:
SERVE_CLIENT: "true"
PORT: "80"
command: npm run start:prod
# Uncomment if ENABLE_TOOLJET_DB=true
postgrest:
image: postgrest/postgrest:v10.1.1.20221215
restart: always
env_file: .env
environment:
- PGRST_SERVER_PORT=80