-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.conf.toml
84 lines (73 loc) · 1.92 KB
/
default.conf.toml
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
[app]
port="1226"
ips = 127
ipExpiration = "-1m"
[user]
resetExpiration = "48h"
attempts = 7
attemptExpiration = "-5m"
verification = true
[paths]
styles = "styles"
fonts = "fonts"
tilesets = "tilesets"
datasets = "datasets"
ts3d = "ts3d"
uploads = "tmp"
[statics]
home = "statics/"
templates = "statics/templates/*"
[db]
name = "atlas"
type = "sqlite3" # sqlite3,postgres
host = "127.0.0.1"
port = 5432
user = "docker"
password = "docker"
sysdb = "atlasdb"
datadb = "atlasdata"
# data providers
[[providers]]
name = "atlas" # provider name is referenced from map layers
type = "gpkg" # postgis,gpkg
filepath = "atlasdata"
host = "127.0.0.1" # postgis database host
port = 5432 # postgis database port
user = "docker" # postgis database user
password = "docker" # postgis database password atlas/cityfun
database = "atlasdata" # postgis database name
srid = 4326 #默认目标是3857,原始数据层可以是3857但通常是4326
[jwt]
[jwt.auth]
realm="atlascloud-auth"
key="salta-atad-6221"
timeOut="24h"
timeMax="72h"
lookup="header:Authorization, cookie:token"
headName = "Bearer"
[jwt.access]
realm="atlascloud-access"
key="salta-atad-1226"
timeOut="65535h"
timeMax="655350h"
lookup="query:access_token"
headName = "Bearer"
[smtp]
[smtp.from]
name = "atlascloud"
address = "[email protected]"
[smtp.credentials]
user = "[email protected]"
password = "Atlas1226"
host = "smtp.exmail.qq.com"
port = 465
ssl = true
[import]
[import.task]
interval = "1s"
[proxy]
appid = "SuZhouChengFang:XT5C0UK4JVFB26KF"
key = "W2T6KF9Q7MPO3O3XYIJNV67W0108K07N"
host = "http://out.jsdhqy.cn:3005"
[geocoder]
api = "http://api.map.baidu.com/place/v2/search?query=%s®ion=全国&output=json&ak=3yZlMT3ioSaTaa0kioxwulQrROoN97RV"