2024-02-27 15:05:31 +00:00
|
|
|
version: "3"
|
2022-03-04 02:30:47 +00:00
|
|
|
|
|
|
|
|
services:
|
2022-12-30 11:01:38 +00:00
|
|
|
tooljet:
|
2022-03-04 02:30:47 +00:00
|
|
|
tty: true
|
|
|
|
|
stdin_open: true
|
2023-08-03 10:10:11 +00:00
|
|
|
container_name: Tooljet-app
|
2026-01-09 11:00:41 +00:00
|
|
|
image: tooljet/tooljet-ce:ce-lts-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:
|
2023-08-03 10:10:11 +00:00
|
|
|
container_name: ${PG_HOST}
|
2022-03-04 02:30:47 +00:00
|
|
|
image: postgres:13
|
|
|
|
|
restart: always
|
|
|
|
|
volumes:
|
|
|
|
|
- postgres:/var/lib/postgresql/data
|
2023-08-03 10:10:11 +00:00
|
|
|
env_file: .env
|
2022-03-04 02:30:47 +00:00
|
|
|
environment:
|
2023-08-03 10:10:11 +00:00
|
|
|
- POSTGRES_USER=${PG_USER}
|
|
|
|
|
- POSTGRES_PASSWORD=${PG_PASS}
|
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:
|