-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env.sample
65 lines (53 loc) · 2.08 KB
/
.env.sample
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
# Do not set this to True if your server is exposed to internet!
DEBUG=False
PGDATABASE=geoshop
PGUSER=geoshop
PGHOST=host.docker.internal
PGPORT=5432
PGPASSWORD=geoshop
PGSCHEMA=geoshop
# The folder where the geodata will be uploaded
MEDIA_ROOT=./files
# A link to public images used in product and metadata
MEDIA_URL=https://example.com/geoshop_media/
ALLOWED_HOST=localhost,127.0.0.1,proxy.example.com
# Base URL of the api:
# 1. forces the application to prepend a script name to all URLs generated by the reverse function and the {% url %} template tag
FORCE_SCRIPT_NAME=
# 2. add a prefix to all URL paths in the API
ROOTURL=
EMAIL_HOST=smtp.example.com
ADMIN_USERNAME=admin
# This is used for CORS and to generate links in email templates
FRONT_URL=localhost:4200
FRONT_HREF=/geoshop
FRONT_PROTOCOL=http
CSRF_COOKIE_DOMAIN=localhost
LOGGING_LEVEL=INFO
# Generate this key with Django tools
SECRET_KEY=GenerateOneSecretKey
ADMIN_PASSWORD=Test1234
EXTRACT_USER_PASSWORD=Test1234
AUTO_LEGEND_URL=http://example.com/mapserv?FORMAT=image%2Fpng&TRANSPARENT=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&LAYER=
# If you plan to manage secret metadata, provide your intranet legend service
INTRA_LEGEND_URL=https://example.com/mapserv_proxy?ogcserver=source+for+image%2Fpng&FORMAT=image%2Fpng&TRANSPARENT=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&LAYER=
# Only for testing purpose
DEFAULT_LANGUAGE=en
# For non-docker, uncomment this (only tested in Windows)
#GDAL_PATH="C:\Applications\Mapserver72_x64\bin"
#GDAL_LIBRARY_PATH="C:\Applications\Mapserver72_x64\bin\gdal300.dll"
#GEOS_LIBRARY_PATH="C:\Applications\Mapserver72_x64\bin\geos_c.dll"
# Geometric settings
DEFAULT_SRID=2056
# Registration enabled by default
REGISTRATION_ENABLED=True
# OIDC parameters
OIDC_ENABLED=False
OIDC_OP_BASE_URL="please set oidc op base url"
ZITADEL_PROJECT="set_zitadel_project"
OIDC_RP_CLIENT_ID="set oidc rp client id"
OIDC_RP_CLIENT_SECRET="set oidc rp client secret"
OIDC_PRIVATE_KEYFILE="keyfile"