-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose-v2.yml
More file actions
78 lines (73 loc) · 1.98 KB
/
Copy pathdocker-compose-v2.yml
File metadata and controls
78 lines (73 loc) · 1.98 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
version: '3.8'
services:
tooljet-client:
tty: true
stdin_open: true
command: openresty -g "daemon off;"
image: tooljet/tooljet-client-ce:latest
restart: always
container_name: tooljet-client
depends_on:
- tooljet-server
environment:
VIRTUAL_PROTO: https
VIRTUAL_PORT: 443
VIRTUAL_HOST: ${VIRTUAL_HOST}
TOOLJET_SERVER_URL: http://tooljet-server:3000
# LETSENCRYPT_HOST: ${VIRTUAL_HOST}
# LETSENCRYPT_EMAIL: ${WEBMASTER_EMAIL}
volumes:
- logs:/var/log/openresty/
- certs:/etc/resty-auto-ssl/
- fallbackcerts:/etc/fallback-certs
expose:
- 80
- 443
# ports:
# - 80:80
# - 443:443
networks:
- auto-reverse-proxy-global-network
# - postgres_service-network
- tooljet-network
tooljet-server:
image: tooljet/tooljet-server-ce:latest
container_name: tooljet-server
# 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
# env_file: .env
environment:
SERVE_CLIENT: "false"
TOOLJET_HOST: ${TOOLJET_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}
APM_VENDOR: ${APM_VENDOR}
SENTRY_DNS: ${SENTRY_DNS}
SENTRY_DEBUG: ${SENTRY_DEBUG}
networks:
- postgres_service-network
- tooljet-network
volumes:
certs:
logs:
fallbackcerts:
networks:
auto-reverse-proxy-global-network:
external: true
postgres_service-network:
external: true
tooljet-network: