mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
✨ Add tooljet template (#74)
* ✨ Add tooljet template * Update blueprints/tooljet/docker-compose.yml * Update blueprints/tooljet/docker-compose.yml --------- Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com>
This commit is contained in:
44
blueprints/tooljet/docker-compose.yml
Normal file
44
blueprints/tooljet/docker-compose.yml
Normal file
@@ -0,0 +1,44 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
tooljet:
|
||||
tty: true
|
||||
stdin_open: true
|
||||
image: tooljet/tooljet:ee-lts-latest
|
||||
restart: always
|
||||
env_file: .env
|
||||
# ports:
|
||||
# - 80:80
|
||||
expose:
|
||||
- 80
|
||||
deploy: # Please adjust the resource according to your usecase
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1'
|
||||
memory: 2G
|
||||
depends_on:
|
||||
- postgres
|
||||
environment:
|
||||
SERVE_CLIENT: "true"
|
||||
PORT: "80"
|
||||
command: npm run start:prod
|
||||
|
||||
postgres:
|
||||
image: postgres:13
|
||||
restart: always
|
||||
deploy: # Please adjust the resource according to your usecase
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2'
|
||||
memory: 3G
|
||||
volumes:
|
||||
- ../files/postgres:/var/lib/postgresql/data
|
||||
env_file: .env
|
||||
environment:
|
||||
- POSTGRES_USER=${PG_USER}
|
||||
- POSTGRES_PASSWORD=${PG_PASS}
|
||||
|
||||
volumes:
|
||||
certs:
|
||||
logs:
|
||||
fallbackcerts:
|
||||
Reference in New Issue
Block a user