-
Notifications
You must be signed in to change notification settings - Fork 4
/
.env.sample
63 lines (52 loc) · 2.01 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
# SITN specific stuff
PGPOSTGRESPASSWORD=password
DOCKER_HOST="ssh://[email protected]"
DOCKER_BACK_PORT=5004
DOCKER_FRONT_PORT=5005
DOCKER_BASE=sitn/geoshop-local
COMPOSE_PROJECT_NAME=geoshop-local
API_BASE_URL=https://sitn.ne.ch
# 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 inside the container where the geodata will be uploaded
MEDIA_ROOT=./files
# The folder outside the container mounted as a volume where the geodata will be uploaded
GEOSHOP_DATA=/mnt/geoshop_data
# 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
ROOTURL=
EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend
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