-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy path.env.copy
More file actions
65 lines (54 loc) · 2.22 KB
/
Copy path.env.copy
File metadata and controls
65 lines (54 loc) · 2.22 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
# Domain
# This would be set to the production domain with an env var on deployment
DOMAIN=localhost
# Environment: local, staging, production
ENVIRONMENT=local
PROJECT_NAME='Digital Twin Toolbox'
STACK_NAME=digital-twin-toolbox
# Backend
BACKEND_CORS_ORIGINS="http://localhost,http://localhost:5173,http://localhost:8081,https://localhost,https://localhost:5173,http://localhost.dtt-project.com"
SECRET_KEY=changethis
FIRST_SUPERUSER=admin@example.com
FIRST_SUPERUSER_PASSWORD=changethis
# Emails
SMTP_HOST=
SMTP_USER=
SMTP_PASSWORD=
EMAILS_FROM_EMAIL=info@example.com
SMTP_TLS=True
SMTP_SSL=False
SMTP_PORT=587
# Postgres
POSTGRES_SERVER=localhost
POSTGRES_PORT=5432
POSTGRES_DB=app
POSTGRES_USER=postgres
POSTGRES_PASSWORD=changethis
POSTGRES_TASKS_DB=tasks
SENTRY_DSN=
# Configure these with your own Docker registry images
DOCKER_IMAGE_BACKEND=geosolutionsit/digital-twin-toolbox-backend
DOCKER_IMAGE_FRONTEND=geosolutionsit/digital-twin-toolbox-frontend
DOCKER_IMAGE_WORKER_VECTOR=geosolutionsit/digital-twin-toolbox-worker-vector
DOCKER_IMAGE_WORKER_POINT_CLOUD=geosolutionsit/digital-twin-toolbox-worker-point-cloud
DOCKER_IMAGE_WORKER_MESH=geosolutionsit/digital-twin-toolbox-worker-mesh
DOCKER_IMAGE_WORKER_PHOTOGRAMMETRY=geosolutionsit/digital-twin-toolbox-worker-photogrammetry
TAG=latest
# changing DTT_ENABLE_USERS_MANAGEMENT to False removes to user management and the upload will be available to everybody
# all action on the UI will be performed as the default super user
# set this to False only in controlled environment eg. for local testing or to use this app as a standalone app on local machine
DTT_ENABLE_USERS_MANAGEMENT=True
DTT_API_URL=http://${DOMAIN}
# base path of the frontend routing
DTT_ROUTER_BASE_PATH=/
# location of all frontend assets files
DTT_PUBLIC_BASE_PATH=/
# if true enable the hash routing
DTT_ENABLE_ROUTER_HASH_HISTORY=False
CELERY_WORKER_CONCURRENCY=3
# Uncomment if dev hot reload misses changes (Docker Desktop / WSL2 on /mnt/c).
# WATCHFILES_FORCE_POLLING=true
# Host interface for the local Dozzle log viewer (docker-compose.override.yml).
# Defaults to 127.0.0.1 (localhost only). Set to 0.0.0.0 if you cannot reach
# http://localhost:9999 (e.g. some native-docker WSL setups).
# DOZZLE_BIND_HOST=127.0.0.1