-
-
Notifications
You must be signed in to change notification settings - Fork 47
/
settings-tournesol.yaml
98 lines (87 loc) · 4.63 KB
/
settings-tournesol.yaml
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
# This configuration file is intended for development environment only
# (see instructions in /dev-env/README.md).
# Find more information regarding the configuration and a detailed example
# in /backend/documentation/settings-tournesol.yaml
DEBUG: True
SECRET_KEY: g&*0o49mk(t&*vvdsfsdgfsdgsgesqdg5n*e7ars&$qz*lpi^s$k*
ALLOWED_HOSTS:
- localhost
- 127.0.0.1
- 0.0.0.0
CORS_ALLOWED_ORIGINS:
- "http://localhost:3000"
- "http://127.0.0.1:3000"
- "http://localhost:8000"
- "http://127.0.0.1:8000"
CORS_ALLOW_CREDENTIALS: true
MAIN_URL: http://127.0.0.1:8000/
DATABASE_HOST: db
DATABASE_NAME: tournesol
DATABASE_USER: tournesol
DATABASE_PASSWORD: password
STATIC_ROOT: /tournesol/static
MEDIA_ROOT: /tournesol/media/
ACCESS_TOKEN_EXPIRE_SECONDS: 36000 # 10h
REFRESH_TOKEN_EXPIRE_SECONDS: 604800 # 1w
LOGIN_URL: /admin/login
OIDC_ENABLED: true
OIDC_ISS_ENDPOINT: http://127.0.0.1:8000/o
# openssl genrsa 4096
OIDC_RSA_PRIVATE_KEY: |
-----BEGIN RSA PRIVATE KEY-----
MIIJKAIBAAKCAgEAx0m1CHyJjkjCQW3f9pRDXHDWkmJtEGTPLqoxug8TRi6baRKs
H+6nbBeissoyviCdtMGQ+R+pdJH9NPjXpIh3siKeW8Wun0VZAR3+KciF+GpPr31Y
NJU12QN2+c8Mxihza5Cc1OQfFwiO3ORkO+/xWlAYEILcAHKsHdYfwZ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