forked from ToolJet/ToolJet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revise docker-compose docs (ToolJet#2387)
- Loading branch information
1 parent
184876c
commit f170cf3
Showing
5 changed files
with
130 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Create .env from this example file and replace values for the environment. | ||
# The application expects a separate .env.test for test environment configuration | ||
# Get detailed information about each variable here: https://docs.tooljet.com/docs/deployment/env-vars | ||
|
||
TOOLJET_HOST=http://localhost:8082 | ||
LOCKBOX_MASTER_KEY=replace_with_lockbox_master_key | ||
SECRET_KEY_BASE=replace_with_secret_key_base | ||
|
||
# DATABASE CONFIG | ||
ORM_LOGGING=all | ||
PG_DB=tooljet_production | ||
PG_USER=postgres | ||
PG_HOST=postgres | ||
PG_PASS=postgres | ||
|
||
# Checks every 24 hours to see if a new version of ToolJet is available | ||
# (Enabled by default. Set 0 to disable) | ||
CHECK_FOR_UPDATES= | ||
|
||
# Checks every 24 hours to update app telemetry data to ToolJet hub. | ||
# (Telemetry is enabled by default. Set value to true to disable.) | ||
# DISABLE_APP_TELEMETRY=false | ||
|
||
GOOGLE_CLIENT_ID= | ||
GOOGLE_CLIENT_SECRET= | ||
|
||
# EMAIL CONFIGURATION | ||
DEFAULT_FROM_EMAIL=hello@tooljet.io | ||
SMTP_USERNAME= | ||
SMTP_PASSWORD= | ||
SMTP_DOMAIN= | ||
SMTP_PORT= | ||
|
||
# DISABLE USER SIGNUPS (true or false). Default: true | ||
DISABLE_SIGNUPS= | ||
|
||
# OBSERVABILITY | ||
APM_VENDOR= | ||
SENTRY_DNS= | ||
SENTRY_DEBUG= | ||
|
||
# FEATURE TOGGLE | ||
COMMENT_FEATURE_ENABLE= | ||
|
||
#SSO | ||
SSO_DISABLE_SIGNUP= | ||
SSO_RESTRICTED_DOMAIN= | ||
SSO_GOOGLE_OAUTH2_CLIENT_ID= | ||
SSO_GIT_OAUTH2_CLIENT_ID= | ||
SSO_GIT_OAUTH2_CLIENT_SECRET= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
version: '3' | ||
|
||
services: | ||
client: | ||
tty: true | ||
stdin_open: true | ||
image: tooljet/tooljet-client-ce:latest | ||
restart: always | ||
env_file: .env | ||
depends_on: | ||
- server | ||
volumes: | ||
- logs:/var/log/openresty/ | ||
- certs:/etc/resty-auto-ssl/ | ||
- fallbackcerts:/etc/fallback-certs | ||
ports: | ||
- 80:80 | ||
- 443:443 | ||
command: openresty -g "daemon off;" | ||
|
||
server: | ||
image: tooljet/tooljet-server-ce:latest | ||
tty: true | ||
stdin_open: true | ||
restart: always | ||
ports: | ||
- 3000 | ||
env_file: .env | ||
environment: | ||
SERVE_CLIENT: "false" | ||
command: npm run start:prod | ||
depends_on: | ||
- postgres | ||
|
||
postgres: | ||
image: postgres:13 | ||
restart: always | ||
ports: | ||
- 5432:5432 | ||
volumes: | ||
- postgres:/var/lib/postgresql/data | ||
environment: | ||
- POSTGRES_PASSWORD=postgres | ||
|
||
volumes: | ||
postgres: | ||
driver: local | ||
driver_opts: | ||
o: bind | ||
type: none | ||
device: ${PWD}/postgres_data | ||
certs: | ||
logs: | ||
fallbackcerts: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters