forked from KNMI/adaguc-services
-
Notifications
You must be signed in to change notification settings - Fork 0
/
adaguc-services-config.xml.example
96 lines (82 loc) · 5.91 KB
/
adaguc-services-config.xml.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
<?xml version="1.0" encoding="UTF-8"?>
<adaguc-services>
<!-- Set the environment variable ADAGUCSERVICES_DIR to the top of the folder structure (adagucservices_dir)
<userworkspace>{ENV.ADAGUCSERVICES_DIR}/data/adaguc-services-space</userworkspace>
<external-home-url>https://bhw451.knmi.nl:8090</external-home-url>
<basedir>{ENV.ADAGUCSERVICES_DIR}/data/adaguc-services-base</basedir>
<server>
<port>8090</port>
<contextpath>/adaguc-services</contextpath>
</server>
<security>
<truststorepassword>changeit</truststorepassword>
<truststore>{ENV.ADAGUCSERVICES_DIR}/config/ds-truststore.ts</truststore>
<trustrootscadirectory>{ENV.ADAGUCSERVICES_DIR}/src/.globus/certificates/</trustrootscadirectory>
<keystore>{ENV.ADAGUCSERVICES_DIR}/keystore/c4i_keystore.jks</keystore>
<keystorepassword>password</keystorepassword>
<keystoretype>JKS</keystoretype>
<keyalias>tomcat</keyalias>
</security>
<adaguc-server>
<adagucexecutable>{ENV.ADAGUCSERVICES_DIR}/src/adaguc-server/bin/adagucserver</adagucexecutable>
<export>ADAGUC_PATH={ENV.ADAGUCSERVICES_DIR}/src/adaguc-server/</export>
<export>ADAGUC_CONFIG={ENV.ADAGUCSERVICES_DIR}/src/adaguc-server/data/config/adaguc.docker.xml</export>
<export>ADAGUC_DATARESTRICTION=FALSE</export>
<export>ADAGUC_LOGFILE={ENV.ADAGUCSERVICES_DIR}/adaguc-services-tmp/adaguc.autoresource.log</export>
<export>ADAGUC_FONT={ENV.ADAGUCSERVICES_DIR}/src/adaguc-server/data/fonts/FreeSans.ttf</export>
</adaguc-server>
<pywps-server>
<pywpsexecutable>{ENV.ADAGUCSERVICES_DIR}/src/pywps-pywps-3.2.5/wps.py</pywpsexecutable>
<pywpsconfigtemplate>{ENV.ADAGUCSERVICES_DIR}/src/pywps-pywps-3.2.5/pywps/default.cfg</pywpsconfigtemplate>
<pywpsoutputdir>{ENV.ADAGUCSERVICES_DIR}/src/wpsoutputs</pywpsoutputdir>
<pywpsprocessesdir>{ENV.ADAGUCSERVICES_DIR}/src/pywps-pywps-3.2.5/pywps/processes/</pywpsprocessesdir>
<tmp>{ENV.ADAGUCSERVICES_DIR}/src/adaguc-services-tmp</tmp>
<export>ADAGUC_CONFIG={ENV.ADAGUCSERVICES_DIR}/src/adaguc-server/adagucserver.xml</export>
<export>ADAGUC_PATH={ENV.ADAGUCSERVICES_DIR}/src/adagucserver/</export>
<export>ADAGUC_TMP={ENV.ADAGUCSERVICES_DIR}/src/adaguc-services-tmp/</export>
<export>ADAGUC_LOGFILE={ENV.ADAGUCSERVICES_DIR}/src/adaguc-services-tmp/adagucserver-wps.log</export>
<export>ADAGUC_DATARESTRICTION=FALSE</export>
<!--<export>PATH=/src/src/adagucserver/bin/:/src/conda/bin/:/src/conda/bin/:/src/conda/bin/:/src/bin:/src/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin</export>-->
<!--<export>PATH=/home/c3smagic/code/KNMI/wps_prov/climexp:/home/c3smagic/code/KNMI/adagucserver/bin/:/home/c3smagic/conda/bin/:/home/c3smagic/conda/bin/:/home/c3smagic/conda/bin/:/home/c3smagic/bin:/home/c3smagic/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin</export>-->
<export>PATH={ENV.ADAGUCSERVICES_DIR}/src/adaguc-server/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin</export>
<export>PYWPS_TEMPLATES={ENV.ADAGUCSERVICES_DIR}/src/pywps-pywps-3.2.5/pywps/Templates</export>
<export>PORTAL_OUTPUT_PATH={ENV.ADAGUCSERVICES_DIR}/src/wpsoutputs/</export>
<export>USE_FONTCONFIG=False</export>
</pywps-server>
<oauth2>
<provider name="google">
<!-- New application can be created at https://congetEnabledsole.developers.google.com/apis/credentials -->
<authloc>https://accounts.google.com/o/oauth2/auth</authloc>
<tokenloc>https://accounts.google.com/o/oauth2/token</tokenloc>
<clientid>***</clientid>
<clientsecret>***</clientsecret>
<scope>email</scope>
<logo>images/google.png</logo>
<description>Sign in with Google</description>
</provider>
</oauth2>
<basket>
<enabled>true</enabled>
</basket>
<autowms>
<enabled>true</enabled>
<autowmspath>/data/adaguc-autowms/</autowmspath>
<datasetpath>/data/adaguc-datasets/</datasetpath>
</autowms>
<joblist>
<enabled>true</enabled>
</joblist>
<datasetcatalog>
<enabled>true</enabled>
<catalogpath>{ENV.ADAGUCSERVICES}/data/adaguc-services-base/catalog</catalogpath>
</datasetcatalog>
<servicehealth>
<enabled>true</enabled>
<servicehealthpath>/data/adaguc-servicehealth/</servicehealthpath>
</servicehealth>
<esgfsearch>
<enabled>true</enabled>
<cachelocation>/tmp/esgfsearch</cachelocation>
<searchurl>https://esg-dn1.nsc.liu.se/esg-search/search?</searchurl>
</esgfsearch>
</adaguc-services>