-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
54 lines (51 loc) · 1.67 KB
/
docker-compose.yml
File metadata and controls
54 lines (51 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
version: '3.8'
services:
tooljet:
# image: tooljet/tooljet-server-ce:latest
image: tooljet/tooljet-ce
container_name: tooljet
# start an interactive shell
# You can set stdin_open: true, tty: true, however that won't actually give you a proper shell with up, because logs are being streamed from all the containers.
tty: true # docker run -t
stdin_open: true # # docker run -i
command: npm run start:prod
restart: always
# ports:
# - "3000:3000"
expose:
- 3000
environment:
SERVE_CLIENT: "true"
NODE_ENV: "production"
TOOLJET_HOST: "https://${VIRTUAL_HOST}"
PG_HOST: postgres
PG_PORT: 5432
PG_DB: ${PG_DB}
PG_USER: ${PG_USER}
PG_PASS: ${PG_PASS}
LOCKBOX_MASTER_KEY: ${LOCKBOX_MASTER_KEY}
SECRET_KEY_BASE: ${SECRET_KEY_BASE}
DISABLE_SIGNUPS: ${DISABLE_SIGNUPS}
DEFAULT_FROM_EMAIL: ${DEFAULT_FROM_EMAIL}
SMTP_USERNAME: ${SMTP_USERNAME}
SMTP_PASSWORD: ${SMTP_PASSWORD}
SMTP_DOMAIN: ${SMTP_DOMAIN} # domain or host
SMTP_PORT: ${SMTP_PORT}
APM_VENDOR: ${APM_VENDOR}
SENTRY_DNS: ${SENTRY_DNS}
SENTRY_DEBUG: ${SENTRY_DEBUG}
TOOLJET_SERVER_URL: "https://${VIRTUAL_HOST}"
# NODE_EXTRA_CA_CERTS: ${NODE_EXTRA_CA_CERTS}
# ASSET_PATH: "https://${VIRTUAL_HOST}"
VIRTUAL_PORT: 3000
VIRTUAL_HOST: ${VIRTUAL_HOST}
LETSENCRYPT_HOST: ${VIRTUAL_HOST}
LETSENCRYPT_EMAIL: ${WEBMASTER_EMAIL}
networks:
- auto-reverse-proxy-global-network
- postgres_service-network
networks:
auto-reverse-proxy-global-network:
external: true
postgres_service-network:
external: true