forked from cortezaproject/corteza
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.env.example
99 lines (73 loc) · 2.8 KB
/
.env.example
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# Corteza configuration
# Note: default docker image without any extra command will
# force :80 via flag and override anything you set here
HTTP_ADDR=:80
# SMTP configuration
# For dev environment, run mailhog (`make mailhog.up`), set SMTP_HOST to `localhost:1025`
# and visit localhost:8025.
SMTP_HOST=localhost:1025
SMTP_USER=
SMTP_PASS=
SMTP_FROM="Corteza" <[email protected]>
# JWT Secret, shared among all services.
# If not set, random value will be set every time you reset the service
#AUTH_JWT_SECRET=
# JWT expiration (duration, default: '720h', 30 days)
#AUTH_JWT_EXPIRY=
# Debug level you want to use (anything equal or lower than that will be logged)
# Values: debug, info, warn, error, panic, fatal
LOG_LEVEL=info
# Timeout for internal HTTP client
HTTP_CLIENT_TIMEOUT=30s
# Allow usage of insecure hosts (self-signed, expired certificates)
HTTP_CLIENT_TSL_INSECURE=false
# Log HTTP requests
HTTP_LOG_REQUESTS=true
# Monitoring log interval
MONITOR_INTERVAL=5min
# Database to use
DB_DSN=corteza:corteza@tcp(localhost:3306)/corteza?collation=utf8mb4_general_ci
# Log database queries?
#DB_LOGGER=false
# Logging level we want to use (values: debug, info, warn, error, dpanic, panic, fatal)
#LOG_LEVEL=info
# Enable debug logger (more verbose,
#LOG_DEBUG=false
########################################################################################################################
# Storage configuration
# Local, plain storage path:
# General all-in-one
#STORAGE_PATH=var/store (defaults to "/var/store")
# or separate path by service (Docker default values):
#COMPOSE_STORAGE_PATH=/data/compose
#SYSTEM_STORAGE_PATH=/data/system
# Min.io:
# Storage to minio backend is activated when MINIO_ENDPOINT is set
#
# If you are in development environemnt and using `make minio.up` for testing,
# your min.io instance is most likely listening on localhost
# (inspect `Makefile` for details)
#MINIO_ENDPOINT=localhost:9000
# Access & secret key
# These keys are used by Min.io Docker container as well
#MINIO_ACCESS_KEY=AKIAIOSFODNN7EXAMPLE
#MINIO_SECRET_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
# Per-service buckets (default values)
#COMPOSE_MINIO_BUCKET=compose
#SYSTEM_MINIO_BUCKET=system
# Strict mode:
# When true, it does not create un-existing buckets
#MINIO_STRICT=false
#######################################################################################################################
#
# Federation - warning, this is still an experimental feature
#
FEDERATION_ENABLED=false
FEDERATION_HOST=localhost:80
FEDERATION_LABEL=Federation host 1
# Sync settings - paging and sync delay
FEDERATION_SYNC_STRUCTURE_MONITOR_INTERVAL=2m
FEDERATION_SYNC_DATA_MONITOR_INTERVAL=60s
FEDERATION_SYNC_DATA_PAGE_SIZE=100
# This needs to be one per page for architectural reasons for now
FEDERATION_SYNC_STRUCTURE_PAGE_SIZE=1