This repository has been archived by the owner on Dec 26, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.infomark.example.yml
59 lines (46 loc) · 1.87 KB
/
.infomark.example.yml
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
# shared configuration for both
# ------------------------------------------------------------------------------
rabbitmq_connection: amqp://user:password@localhost:5672/
rabbitmq_key: test-key
# backend
# ------------------------------------------------------------------------------
url: https://infomark-staging.informatik.uni-tuebingen.de
log_level: debug
port: 0.0.0.0:3000
redis_url: redis://localhost:6379/0
# authentication
auth_jwt_secret: fffff
auth_jwt_access_expiry: 15m
auth_jwt_refresh_expiry: 10h
auth_session_secret: u46IpCV9y5Vlur8YvODJEhgOY8m9JVE4sdfdfsdf
auth_total_requests_per_minute: 600
auth_cookie_lifetime: 24h
auth_cookie_idle_timeout: 60m
# when using https (should be true)
auth_secure_cookie: false
# database
database_connection: postgres://user:pass@localhost:5433/db?sslmode=disable&connect_timeout=1
db_debug: false
# email
email_from: [email protected]
sendmail_binary: /usr/sbin/sendmail
email_channel_size: 300
min_password_length: 7
cronjob_intervall_submission_zip: every 120s
use_backend_worker: true
uploads_dir: /var/www/infomark-staging/app/files/uploads
common_dir: /var/www/infomark-staging/app/files/common
generated_files_dir: /var/www/infomark-staging/app/files/generated_files
fixtures_dir: /var/www/infomark-staging/app/files/fixtures
server_read_timeout_sec: 30
server_write_timeout_sec: 30
server_max_header_bytes: 1048576 # default is 1MB = 1048576 bytes
max_request_json_bytes: 2097152 # 2 * 1024 * 1024 = 2097152
max_request_avatar_bytes: 1048576 # 1 * 1024 * 1024 = 1048576
max_request_submission_bytes: 4194304 # 4 * 1024 * 1024 = 4194304
debug_user_id: 0
# worker
# ------------------------------------------------------------------------------
worker_workdir: /tmp
worker_void: false # true -> background jobs are always skipped
worker_docker_memory_bytes: 209715200 # 200 * 1024 * 1024 = 209715200